g_object_unref() rather than ws_region_unref().

Thu Jan 19 18:05:47 2006  Søren Sandmann  <sandmann@redhat.com>

	* src/compositor.c (meta_compositor_manage_screen):
	g_object_unref() rather than ws_region_unref().
This commit is contained in:
Søren Sandmann 2006-01-19 23:06:19 +00:00 committed by Søren Sandmann Pedersen
parent 24976318b5
commit 5f9a097d2c
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,8 @@
Thu Jan 19 18:05:47 2006 Søren Sandmann <sandmann@redhat.com>
* 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 <sandmann@redhat.com> Thu Jan 19 16:50:50 2006 Søren Sandmann <sandmann@redhat.com>
* src/compositor.c: Port to changes in libcm * src/compositor.c: Port to changes in libcm

View File

@ -582,7 +582,8 @@ update (gpointer data)
glEnable (GL_TEXTURE_2D); glEnable (GL_TEXTURE_2D);
draw_windows (screen, scr_info->compositor_nodes); 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 #if 0
ws_display_grab (ws_drawable_get_display ((WsDrawable *)gl_window)); 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); region = ws_region_new (compositor->display);
ws_window_set_input_shape (scr_info->glw, region); 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); ws_window_map (scr_info->glw);