From 31f48c0cf07ddfdfd877582c9e70aa6733613f8a Mon Sep 17 00:00:00 2001 From: Tomas Frydrych Date: Tue, 17 Mar 2009 12:28:00 +0000 Subject: [PATCH] Removed unnecessary g_object_ref/unref() bracketing around g_object_notify(). --- src/core/workspace.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/core/workspace.c b/src/core/workspace.c index 9175bac43..f563a3b82 100644 --- a/src/core/workspace.c +++ b/src/core/workspace.c @@ -302,9 +302,7 @@ meta_workspace_add_window (MetaWorkspace *workspace, */ meta_window_queue (window, META_QUEUE_CALC_SHOWING|META_QUEUE_MOVE_RESIZE); - g_object_ref (workspace); g_object_notify (G_OBJECT (workspace), "n-windows"); - g_object_unref (workspace); } void @@ -352,9 +350,7 @@ meta_workspace_remove_window (MetaWorkspace *workspace, */ meta_window_queue (window, META_QUEUE_CALC_SHOWING|META_QUEUE_MOVE_RESIZE); - g_object_ref (workspace); g_object_notify (G_OBJECT (workspace), "n-windows"); - g_object_unref (workspace); } void