From 5f9a097d2c781554022fa25956faa03b7a4175e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B8ren=20Sandmann?= Date: Thu, 19 Jan 2006 23:06:19 +0000 Subject: [PATCH] g_object_unref() rather than ws_region_unref(). MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Thu Jan 19 18:05:47 2006 Søren Sandmann * src/compositor.c (meta_compositor_manage_screen): g_object_unref() rather than ws_region_unref(). --- ChangeLog | 5 +++++ src/compositor.c | 5 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 476a0f922..2ce95cb2b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jan 19 18:05:47 2006 Søren Sandmann + + * src/compositor.c (meta_compositor_manage_screen): + g_object_unref() rather than ws_region_unref(). + Thu Jan 19 16:50:50 2006 Søren Sandmann * src/compositor.c: Port to changes in libcm diff --git a/src/compositor.c b/src/compositor.c index 0ec869692..f1cc1849a 100644 --- a/src/compositor.c +++ b/src/compositor.c @@ -582,7 +582,8 @@ update (gpointer data) glEnable (GL_TEXTURE_2D); draw_windows (screen, scr_info->compositor_nodes); - /* FIXME: we should probably grab the server around the raise/swap */ + /* FIXME: we should probably grab the server around the raise/swap + */ #if 0 ws_display_grab (ws_drawable_get_display ((WsDrawable *)gl_window)); @@ -745,7 +746,7 @@ meta_compositor_manage_screen (MetaCompositor *compositor, region = ws_region_new (compositor->display); ws_window_set_input_shape (scr_info->glw, region); - ws_region_unref (region); + g_object_unref (G_OBJECT (region)); ws_window_map (scr_info->glw);