+#ifdef NATIVE_WIN32
+
+static gchar *
+get_gtk_sysconf_directory ()
+{
+ static gchar gtk_sysconf_dir[200];
+ gchar win_dir[100];
+
+ GetWindowsDirectory (win_dir, sizeof (win_dir));
+ sprintf (gtk_sysconf_dir, "%s\\gtk", win_dir);
+ return gtk_sysconf_dir;
+}
+
+static gchar *
+get_themes_directory ()
+{
+ /* We really should fetch this from the Registry. The GIMP
+ * installation program stores the Themes installation
+ * directory in HKLM\Software\GNU\GTk+\Themes\InstallDirectory.
+ * Later.
+ */
+ static gchar themes_dir[200];
+
+ sprintf (themes_dir, "%s\\themes", get_gtk_sysconf_directory ());
+ return themes_dir;
+}
+
+#endif
+