mirror of
https://github.com/brl/mutter.git
synced 2024-11-28 11:00:54 -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
|
||||
* workspace index changes, so we need to update that hint */
|
||||
if (active_index_changed)
|
||||
meta_screen_set_active_workspace_hint (workspace->screen);
|
||||
meta_screen_set_active_workspace_hint (screen);
|
||||
|
||||
l = next;
|
||||
while (l)
|
||||
|
Loading…
Reference in New Issue
Block a user