mirror of
https://gitlab.gnome.org/GNOME/libmks.git
synced 2024-12-22 05:35:21 +00:00
resizer: only branch when non-NULL
My previous commit broke this, which is needed because we always return FALSE when either are NULL.
This commit is contained in:
parent
69dfaddb9d
commit
cae805a728
@ -140,7 +140,7 @@ on_screen_configure_cb (GObject *object,
|
||||
self->in_progress = FALSE;
|
||||
attributes = g_steal_pointer (&self->next_op);
|
||||
|
||||
if (!mks_screen_attributes_equal (attributes, self->previous_op))
|
||||
if (attributes && !mks_screen_attributes_equal (attributes, self->previous_op))
|
||||
mks_screen_resizer_reconfigure (self, g_steal_pointer (&attributes));
|
||||
|
||||
MKS_EXIT;
|
||||
|
Loading…
Reference in New Issue
Block a user