# HG changeset patch # User nenolod # Date 1147704421 25200 # Node ID fc717728fd104b61b2d7b1b8f86ebee78d798588 # Parent 2494d029279b93be7c9b5998f0241433a34c5d22 [svn] - don't blindly call shade_pixmap(). pointyhat to: me, pointed out by: yaz diff -r 2494d029279b -r fc717728fd10 audacious/skin.c --- a/audacious/skin.c Sun May 14 20:48:13 2006 -0700 +++ b/audacious/skin.c Mon May 15 07:47:01 2006 -0700 @@ -165,11 +165,14 @@ skin_setup_masks(bmp_active_skin); - if (rootpix != NULL) - g_object_unref(rootpix); + if (cfg.playlist_transparent) + { + if (rootpix != NULL) + g_object_unref(rootpix); - rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(), - skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG)); + rootpix = shade_pixmap(get_transparency_pixmap(), 0, 0, 0, 0, gdk_screen_width(), gdk_screen_height(), + skin_get_color(bmp_active_skin, SKIN_PLEDIT_NORMALBG)); + } draw_main_window(TRUE); draw_playlist_window(TRUE);