summaryrefslogtreecommitdiff
path: root/gtk/gtkmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkmain.c')
-rw-r--r--gtk/gtkmain.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index 5fb6eeb222..df63038745 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -405,11 +405,11 @@ gtk_init_check (int *argc,
#else
{
/* GTk+ locale dir is %WinDir%\gtk+\locale */
- extern char *get_gtk_sysconf_directory ();
- bindtextdomain (GETTEXT_PACKAGE, g_strconcat (get_gtk_sysconf_directory (),
- G_DIR_SEPARATOR_S,
- "locale",
- NULL));
+ bindtextdomain (GETTEXT_PACKAGE,
+ g_strconcat (gtk_win32_get_installation_directory (),
+ G_DIR_SEPARATOR_S,
+ "locale",
+ NULL));
}
#endif
#endif