slackware-current/source/xap/xmms/xmms.gtk.doublesize.diff

12 lines
456 B
Diff
Raw Normal View History

--- ./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;