summaryrefslogtreecommitdiffstats
path: root/abs/extra/xmms/xmms-fix.diff
blob: a810aa20cfe9a71273a87fada1c0ee2f5cbdc34a (plain)
1
2
3
4
5
6
7
8
9
10
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;