aboutsummaryrefslogtreecommitdiffstats
path: root/agent/protect-tool.c
diff options
context:
space:
mode:
Diffstat (limited to 'agent/protect-tool.c')
-rw-r--r--agent/protect-tool.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/agent/protect-tool.c b/agent/protect-tool.c
index b762437a8..1d706ea2b 100644
--- a/agent/protect-tool.c
+++ b/agent/protect-tool.c
@@ -133,9 +133,9 @@ i18n_init (void)
set_gettext_file( PACKAGE );
#else
#ifdef ENABLE_NLS
- /* gtk_set_locale (); HMMM: We have not yet called gtk_init */
- bindtextdomain( PACKAGE, LOCALEDIR );
- textdomain( PACKAGE );
+ setlocale (LC_ALL, "");
+ bindtextdomain (PACKAGE, LOCALEDIR);
+ textdomain (PACKAGE);
#endif
#endif
}