# HG changeset patch # User William Pitcock # Date 1192498521 18000 # Node ID 1c8746b4b8ab29f24fbff4ab6e1398ff98a6ad55 # Parent 2953048bceee52e6b97c69130f3561e02b6a5d1a there's no way in hell that will work on win32, so just #ifndef it for 1.5... diff -r 2953048bceee -r 1c8746b4b8ab src/audacious/skin.c --- 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);