Commit 2df13664 authored by Ting-Wei Lan's avatar Ting-Wei Lan

main: Remove unnecessary HAVE_LOCALE_H checks

https://bugzilla.gnome.org/show_bug.cgi?id=792278
parent d4c51867
...@@ -1027,10 +1027,8 @@ main (int argc, char *argv[]) ...@@ -1027,10 +1027,8 @@ main (int argc, char *argv[])
g_type_init (); g_type_init ();
#endif #endif
#ifdef HAVE_LOCALE_H
/* internationalisation */ /* internationalisation */
setlocale (LC_ALL, ""); setlocale (LC_ALL, "");
#endif
#ifdef HAVE_GETTEXT #ifdef HAVE_GETTEXT
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
......
...@@ -117,10 +117,8 @@ main (int argc, char *argv[]) ...@@ -117,10 +117,8 @@ main (int argc, char *argv[])
g_type_init (); g_type_init ();
#endif #endif
#ifdef HAVE_LOCALE_H
/* internationalisation */ /* internationalisation */
setlocale (LC_ALL, ""); setlocale (LC_ALL, "");
#endif
#ifdef HAVE_GETTEXT #ifdef HAVE_GETTEXT
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR); bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment