aboutsummaryrefslogtreecommitdiffstats
path: root/capplet
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-12-23 09:25:24 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:14 +0800
commit59324d9f4c891a162511692dfe6e2db91b5895bd (patch)
tree7e231b20f7f5fb019dd02c2ac5db29d7bd2bc2ad /capplet
parentfa73947a702b3ef939cca9172096ab1d1f27b33c (diff)
downloadgsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar.gz
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar.bz2
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar.lz
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar.xz
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.tar.zst
gsoc2013-evolution-59324d9f4c891a162511692dfe6e2db91b5895bd.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);