changeset 3771:1c8746b4b8ab

there's no way in hell that will work on win32, so just #ifndef it for 1.5...
author William Pitcock <nenolod@atheme.org>
date Mon, 15 Oct 2007 20:35:21 -0500
parents 2953048bceee
children 6edf2476219a 12d1d2969a1a
files src/audacious/skin.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/audacious/skin.c	Mon Oct 15 20:34:17 2007 -0500
+++ b/src/audacious/skin.c	Mon Oct 15 20:35:21 2007 -0500
@@ -1491,6 +1491,7 @@
 
         gtkrcpath = find_file_recursively(skin->path, "gtkrc");
 
+#ifndef _WIN32
         /* the way GTK does things can be very broken. --nenolod */
         if (gtkrcpath != NULL) {
             GtkSettings *settings = gtk_settings_get_default();
@@ -1506,6 +1507,7 @@
             unlink(tmp);
             g_free(tmp);
         }
+#endif
 
         return TRUE;
     }
@@ -1529,6 +1531,7 @@
 
     skin_load_cursor(skin, cpath);
 
+#ifndef _WIN32
     /* the way GTK does things can be very broken. --nenolod */
     if (gtkrcpath != NULL) {
         GtkSettings *settings = gtk_settings_get_default();
@@ -1544,6 +1547,7 @@
         unlink(tmp);
         g_free(tmp);
     }
+#endif
 
     del_directory(cpath);
     g_free(cpath);