Mercurial > audlegacy
diff audacious/widgets/playlist_list.c @ 1899:e08527b44c20 trunk
[svn] - make sure rootpix is freed when a new pixmap is generated
author | nenolod |
---|---|
date | Tue, 24 Oct 2006 01:17:57 -0700 |
parents | 22051a0efcef |
children | e549a118c972 |
line wrap: on
line diff
--- a/audacious/widgets/playlist_list.c Tue Oct 24 01:11:53 2006 -0700 +++ b/audacious/widgets/playlist_list.c Tue Oct 24 01:17:57 2006 -0700 @@ -185,6 +185,9 @@ if (at == xevent->xproperty.atom) { + 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));