These pixmaps aren't referenced anywhere else, so increasing their reference count isn't necessary and prevents them from ever getting destroyed.
Signed-off-by: Michel Dänzer <[email protected]> --- gtk/window-decorator/switcher.c | 3 --- 1 files changed, 0 insertions(+), 3 deletions(-) diff --git a/gtk/window-decorator/switcher.c b/gtk/window-decorator/switcher.c index 1aec3b1..6708fc9 100644 --- a/gtk/window-decorator/switcher.c +++ b/gtk/window-decorator/switcher.c @@ -493,9 +493,6 @@ update_switcher_window (Window popup, if (d->picture) XRenderFreePicture (xdisplay, d->picture); - g_object_ref (G_OBJECT (pixmap)); - g_object_ref (G_OBJECT (buffer_pixmap)); - d->pixmap = pixmap; d->buffer_pixmap = buffer_pixmap; d->cr = gdk_cairo_create (pixmap); -- 1.7.7 _______________________________________________ dev mailing list [email protected] http://lists.compiz.org/mailman/listinfo/dev
