diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2010-12-23 09:25:24 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:14 +0800 |
commit | 59324d9f4c891a162511692dfe6e2db91b5895bd (patch) | |
tree | 7e231b20f7f5fb019dd02c2ac5db29d7bd2bc2ad /capplet/anjal-settings-main.c | |
parent | fa73947a702b3ef939cca9172096ab1d1f27b33c (diff) | |
download | gsoc2013-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/anjal-settings-main.c')
-rw-r--r-- | capplet/anjal-settings-main.c | 3 |
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); |