summaryrefslogtreecommitdiff
path: root/source/xap/xmms/xmms.gtk.doublesize.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/xap/xmms/xmms.gtk.doublesize.diff')
-rw-r--r--source/xap/xmms/xmms.gtk.doublesize.diff11
1 files changed, 11 insertions, 0 deletions
diff --git a/source/xap/xmms/xmms.gtk.doublesize.diff b/source/xap/xmms/xmms.gtk.doublesize.diff
new file mode 100644
index 00000000..226bb78a
--- /dev/null
+++ b/source/xap/xmms/xmms.gtk.doublesize.diff
@@ -0,0 +1,11 @@
+--- ./xmms/util.c.orig 2006-07-16 08:40:04.000000000 -0500
++++ ./xmms/util.c 2008-09-12 15:49:41.000000000 -0500
+@@ -175,7 +175,7 @@
+ * 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)
+ {
+ char *srcptr, *ptr, *ptr2;