aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-12-23 09:25:24 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-12-23 09:25:24 +0800
commit85f2dfabd1b9c633c784e00ef764bc419f3f503b (patch)
treeaf1cb188b463745b04532e5eedc889105cb2349f /capplet
parent971dac35882ca5e629bd5d0df22d09ebbd236c7e (diff)
downloadgsoc2013-evolution-85f2dfabd1b9c633c784e00ef764bc419f3f503b.tar.gz
gsoc2013-evolution-85f2dfabd1b9c633c784e00ef764bc419f3f503b.tar.zst
gsoc2013-evolution-85f2dfabd1b9c633c784e00ef764bc419f3f503b.zip
Call setlocale() instead of gtk_set_locale().
gtk_set_locale() has been deprecated in GTK+ 2.23.3.
Diffstat (limited to 'capplet')
-rw-r--r--capplet/anjal-settings-main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/capplet/anjal-settings-main.c b/capplet/anjal-settings-main.c
index eb9ccce6a9..f211beaca7 100644
--- a/capplet/anjal-settings-main.c
+++ b/capplet/anjal-settings-main.c
@@ -24,6 +24,7 @@
#include <sys/types.h>
#include <sys/stat.h>
+#include <locale.h>
#include <unistd.h>
#include <string.h>
#include <stdio.h>
@@ -240,7 +241,7 @@ main (gint argc, gchar *argv[])
textdomain (GETTEXT_PACKAGE);
#endif
- gtk_set_locale ();
+ setlocale (LC_ALL, NULL);
if (!gtk_init_with_args (&argc, &argv, _("Anjal email client"), entries, NULL, &error)) {
g_error ("Unable to start Anjal: %s\n", error->message);