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



commit 3066779462118fcc237ead75343107fd7427d36b
Author: Michael Natterer <mitch gimp org>
Date:   Fri May 16 20:46:52 2014 +0200

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

 app/tests.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/app/tests.c b/app/tests.c
index db03950..764438a 100644
--- a/app/tests.c
+++ b/app/tests.c
@@ -82,6 +82,8 @@ gimp_init_for_testing (void)
 
 #ifndef GIMP_CONSOLE_COMPILATION
 
+#ifndef G_OS_WIN32
+
 static void
 gimp_init_icon_theme_for_testing (void)
 {
@@ -143,6 +145,8 @@ gimp_init_icon_theme_for_testing (void)
   g_free (icon_root);
 }
 
+#endif /* G_OS_WIN32 */
+
 static Gimp *
 gimp_init_for_gui_testing_internal (gboolean     show_gui,
                                     const gchar *gimprc)
@@ -166,7 +170,9 @@ gimp_init_for_gui_testing_internal (gboolean     show_gui,
   gimp_load_config (gimp, gimprc, NULL);
   gimp_gegl_init (gimp);
   gui_init (gimp, TRUE);
+#ifndef G_OS_WIN32
   gimp_init_icon_theme_for_testing ();
+#endif
   gimp_initialize (gimp, gimp_status_func_dummy);
   gimp_restore (gimp, gimp_status_func_dummy);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]