summaryrefslogtreecommitdiffstats
path: root/abs/extra-testing/xmms/xmms-fix.diff
diff options
context:
space:
mode:
authorCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 18:10:43 (GMT)
committerCecil Hugh Watson <knoppmyth@gmail.com>2009-01-16 18:10:43 (GMT)
commitff1b3f2435a9bb08ba1eb82188825f71667a9c71 (patch)
treecdfccf7b136ac54c892d3bc69683b63412b85272 /abs/extra-testing/xmms/xmms-fix.diff
parentf3673861ea45e215165edaa7ec0abbfe24ea2674 (diff)
downloadlinhes_pkgbuild-ff1b3f2435a9bb08ba1eb82188825f71667a9c71.zip
linhes_pkgbuild-ff1b3f2435a9bb08ba1eb82188825f71667a9c71.tar.gz
linhes_pkgbuild-ff1b3f2435a9bb08ba1eb82188825f71667a9c71.tar.bz2
Needed for LCDproc.
Diffstat (limited to 'abs/extra-testing/xmms/xmms-fix.diff')
-rw-r--r--abs/extra-testing/xmms/xmms-fix.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/abs/extra-testing/xmms/xmms-fix.diff b/abs/extra-testing/xmms/xmms-fix.diff
new file mode 100644
index 0000000..a810aa2
--- /dev/null
+++ b/abs/extra-testing/xmms/xmms-fix.diff
@@ -0,0 +1,11 @@
+--- xmms-1.2.10+cvs20060429/xmms/util.c.orig 2006-11-05 12:29:59.000000000 +0800
++++ xmms-1.2.10+cvs20060429/xmms/util.c 2006-11-05 12:30:01.000000000 +0800
+@@ -175,7 +175,7 @@ GdkImage *create_dblsize_image(GdkImage
+ * This needs to be optimized
+ */
+
+- dblimg = gdk_image_new(GDK_IMAGE_NORMAL, gdk_visual_get_best(), img->width << 1, img->height << 1);
++ dblimg = gdk_image_new(GDK_IMAGE_NORMAL, gdk_visual_get_best_with_depth(img->depth), img->width << 1, img->height << 1);
+ if (dblimg->bpp == 1)
+ {
+ register guint8 *srcptr, *ptr, *ptr2, pix;