summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2018-01-07 02:35:39 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2018-01-07 02:35:39 +0800
commit2df13664af86726e4d0bb36ab5b6e59881609ebe (patch)
tree02aa5551b934a7b93ac2da1d6651f794ec2a304e
parentd4c51867ff274473b50783e639bdd3fb5a983245 (diff)
downloadgnome-keyring-2df13664af86726e4d0bb36ab5b6e59881609ebe.tar.gz
main: Remove unnecessary HAVE_LOCALE_H checks
https://bugzilla.gnome.org/show_bug.cgi?id=792278
-rw-r--r--daemon/gkd-main.c2
-rw-r--r--tool/gkr-tool.c2
2 files changed, 0 insertions, 4 deletions
diff --git a/daemon/gkd-main.c b/daemon/gkd-main.c
index f2c371f7..5a9c58e9 100644
--- a/daemon/gkd-main.c
+++ b/daemon/gkd-main.c
@@ -1027,10 +1027,8 @@ main (int argc, char *argv[])
g_type_init ();
#endif
-#ifdef HAVE_LOCALE_H
/* internationalisation */
setlocale (LC_ALL, "");
-#endif
#ifdef HAVE_GETTEXT
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
diff --git a/tool/gkr-tool.c b/tool/gkr-tool.c
index eaf13ef9..956a055c 100644
--- a/tool/gkr-tool.c
+++ b/tool/gkr-tool.c
@@ -117,10 +117,8 @@ main (int argc, char *argv[])
g_type_init ();
#endif
-#ifdef HAVE_LOCALE_H
/* internationalisation */
setlocale (LC_ALL, "");
-#endif
#ifdef HAVE_GETTEXT
bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);