mir: don't warn if transient_for is NULL

This commit is contained in:
William Hua 2015-07-09 15:59:29 -04:00
parent b32899b98a
commit 064f28fcbc

View File

@ -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;
}