Commit b514c6ac authored by Matthias Clasen's avatar Matthias Clasen

Fix a logic error in gdk_window_set_title on OS X

Also fix a similar error in gdk_window_set_transient_for.
This fixes bug 589738
parent 5002976f
......@@ -2002,7 +2002,7 @@ gdk_window_set_title (GdkWindow *window,
g_return_if_fail (title != NULL);
if (GDK_WINDOW_DESTROYED (window) ||
WINDOW_IS_TOPLEVEL (window))
!WINDOW_IS_TOPLEVEL (window))
return;
impl = GDK_WINDOW_IMPL_QUARTZ (((GdkWindowObject *)window)->impl);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment