Mercurial > audlegacy
changeset 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 | ec5819b2fb69 |
files | ChangeLog audacious/widgets/playlist_list.c |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog Tue Oct 24 01:11:53 2006 -0700 +++ b/ChangeLog Tue Oct 24 01:17:57 2006 -0700 @@ -1,3 +1,11 @@ +2006-10-24 08:11:53 +0000 William Pitcock <nenolod@nenolod.net> + revision [2753] + - fix leak when changing background + + trunk/audacious/widgets/playlist_list.c | 1 + + 1 file changed, 1 insertion(+) + + 2006-10-24 07:34:35 +0000 William Pitcock <nenolod@nenolod.net> revision [2751] - oops, missed a requirement (sorry about that)
--- 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));