]> Pileus Git - ~andy/gtk/blobdiff - gtk/gtkmain.c
gtk/gtkmain.c Use the new
[~andy/gtk] / gtk / gtkmain.c
index c66f4922d27dcecd4d0db208866f78a1afa2e757..d3ba241d4c46439390dc61eaa1ec6cf948f44153 100644 (file)
@@ -406,12 +406,10 @@ gtk_init_check (int        *argc,
 #    endif
 #  else /* !G_OS_WIN32 */
   {
-    /* GTk+ locale dir is %WinDir%\gtk+\locale */
     bindtextdomain (GETTEXT_PACKAGE,
-                   g_strconcat (gtk_win32_get_installation_directory (),
-                                G_DIR_SEPARATOR_S,
-                                "locale",
-                                NULL));
+                   g_win32_get_package_installation_subdirectory (GETTEXT_PACKAGE,
+                                                                  g_strdup_printf ("gtk-%d.%d.dll", GTK_MAJOR_VERSION, GTK_MINOR_VERSION),
+                                                                  "locale"));
   }
 #endif
 #endif