mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
Removed unnecessary g_object_ref/unref() bracketing around g_object_notify().
This commit is contained in:
parent
cd0ef08783
commit
31f48c0cf0
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user