[gnome-keyring] main: Remove unnecessary HAVE_LOCALE_H checks
- From: Ting-Wei Lan <lantw src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-keyring] main: Remove unnecessary HAVE_LOCALE_H checks
- Date: Sun, 7 Jan 2018 06:52:23 +0000 (UTC)
commit 2df13664af86726e4d0bb36ab5b6e59881609ebe
Author: Ting-Wei Lan <lantw src gnome org>
Date: Sun Jan 7 02:35:39 2018 +0800
main: Remove unnecessary HAVE_LOCALE_H checks
https://bugzilla.gnome.org/show_bug.cgi?id=792278
daemon/gkd-main.c | 2 --
tool/gkr-tool.c | 2 --
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/daemon/gkd-main.c b/daemon/gkd-main.c
index f2c371f..5a9c58e 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 eaf13ef..956a055 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]