backend: simplify assert
We already checked that constraint is non-null. https://bugzilla.gnome.org/show_bug.cgi?id=769054
This commit is contained in:
parent
720cbc5e5f
commit
125cba7100
@ -615,7 +615,7 @@ void
|
||||
meta_backend_set_client_pointer_constraint (MetaBackend *backend,
|
||||
MetaPointerConstraint *constraint)
|
||||
{
|
||||
g_assert (!constraint || (constraint && !backend->client_pointer_constraint));
|
||||
g_assert (!constraint || !backend->client_pointer_constraint);
|
||||
|
||||
g_clear_object (&backend->client_pointer_constraint);
|
||||
if (constraint)
|
||||
|
Loading…
Reference in New Issue
Block a user