mir: don't warn if transient_for is NULL
This commit is contained in:
@ -871,8 +871,6 @@ gdk_mir_window_impl_set_transient_for (GdkWindow *window,
|
|||||||
if (impl->transient_for == parent)
|
if (impl->transient_for == parent)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
g_return_if_fail (impl->transient_for == NULL);
|
|
||||||
|
|
||||||
/* Link this window to the parent */
|
/* Link this window to the parent */
|
||||||
impl->transient_for = parent;
|
impl->transient_for = parent;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user