app_ don't symlink the test icon theme on windows, there is no symlink()

This commit is contained in:
Michael Natterer 2014-05-16 20:46:52 +02:00
parent 981abdffe1
commit 3066779462
1 changed files with 6 additions and 0 deletions

View File

@ -82,6 +82,8 @@ gimp_init_for_testing (void)
#ifndef GIMP_CONSOLE_COMPILATION #ifndef GIMP_CONSOLE_COMPILATION
#ifndef G_OS_WIN32
static void static void
gimp_init_icon_theme_for_testing (void) gimp_init_icon_theme_for_testing (void)
{ {
@ -143,6 +145,8 @@ gimp_init_icon_theme_for_testing (void)
g_free (icon_root); g_free (icon_root);
} }
#endif /* G_OS_WIN32 */
static Gimp * static Gimp *
gimp_init_for_gui_testing_internal (gboolean show_gui, gimp_init_for_gui_testing_internal (gboolean show_gui,
const gchar *gimprc) const gchar *gimprc)
@ -166,7 +170,9 @@ gimp_init_for_gui_testing_internal (gboolean show_gui,
gimp_load_config (gimp, gimprc, NULL); gimp_load_config (gimp, gimprc, NULL);
gimp_gegl_init (gimp); gimp_gegl_init (gimp);
gui_init (gimp, TRUE); gui_init (gimp, TRUE);
#ifndef G_OS_WIN32
gimp_init_icon_theme_for_testing (); gimp_init_icon_theme_for_testing ();
#endif
gimp_initialize (gimp, gimp_status_func_dummy); gimp_initialize (gimp, gimp_status_func_dummy);
gimp_restore (gimp, gimp_status_func_dummy); gimp_restore (gimp, gimp_status_func_dummy);