mirror of
https://github.com/brl/mutter.git
synced 2024-11-25 01:20:42 -05:00
screen: don't use unreffed pointer
This commit is contained in:
parent
53364f986c
commit
78dc480e86
@ -1492,7 +1492,7 @@ meta_screen_remove_workspace (MetaScreen *screen, MetaWorkspace *workspace,
|
|||||||
/* If deleting a workspace before the current workspace, the active
|
/* If deleting a workspace before the current workspace, the active
|
||||||
* workspace index changes, so we need to update that hint */
|
* workspace index changes, so we need to update that hint */
|
||||||
if (active_index_changed)
|
if (active_index_changed)
|
||||||
meta_screen_set_active_workspace_hint (workspace->screen);
|
meta_screen_set_active_workspace_hint (screen);
|
||||||
|
|
||||||
l = next;
|
l = next;
|
||||||
while (l)
|
while (l)
|
||||||
|
Loading…
Reference in New Issue
Block a user