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