]> git.pld-linux.org Git - packages/audacious.git/blobdiff - bmp-xmms-skins-dir.patch
- no junk in plugins subpackages
[packages/audacious.git] / bmp-xmms-skins-dir.patch
index 06fac9ee207b24c481548998a8302c4406277e3c..c146affa99d666c7bade213dcd7cfb4a8073ab88 100644 (file)
@@ -1,11 +1,22 @@
---- bmp-0.9.7rc2/beep/skinwin.c.orig   2004-07-12 10:32:23.000000000 +0200
-+++ bmp-0.9.7rc2/beep/skinwin.c        2004-08-25 10:05:32.387640672 +0200
-@@ -233,6 +233,8 @@
+--- bmp-0.9.7.1/beep/skinwin.c.orig    2005-03-23 05:55:12.000000000 +0100
++++ bmp-0.9.7.1/beep/skinwin.c 2005-11-01 10:24:16.226140176 +0100
+@@ -231,12 +231,18 @@
+ void
+ skinlist_update(void)
+ {
+-    gchar *skinsdir;
++    gchar *str, *skinsdir;
  
-     scan_skindir(bmp_user_skin_dir);
+     skinlist_clear();
+     scan_skindir(bmp_paths[BMP_PATH_USER_SKIN_DIR]);
      scan_skindir(DATA_DIR G_DIR_SEPARATOR_S BMP_SKIN_DIR_BASENAME);
-+    scan_skindir(g_get_home_dir() "/.xmms/Skins" NULL);
-+    scan_skindir("/usr/share/xmms" "/Skins" NULL);
++    str = g_strconcat(g_get_home_dir(), "/.xmms/Skins", NULL);
++    scan_skindir(str);
++    g_free(str);
++    str = g_strconcat("/usr/share/xmms", "/Skins", NULL);
++    scan_skindir(str);
++    g_free(str);
  
      skinsdir = getenv("SKINSDIR");
      if (skinsdir) {
This page took 0.072949 seconds and 4 git commands to generate.