[gtk+] Fix a logic error in gdk_window_set_title on OS X
- From: Matthias Clasen <matthiasc src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [gtk+] Fix a logic error in gdk_window_set_title on OS X
- Date: Fri, 7 Aug 2009 04:12:49 +0000 (UTC)
commit 5002976fabfd650b2d95dc6371fb125e52bebda5
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Aug 7 00:10:43 2009 -0400
Fix a logic error in gdk_window_set_title on OS X
This fixes bug 589738
gdk/quartz/gdkwindow-quartz.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index 8fdddc6..a216b7f 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -2033,8 +2033,8 @@ gdk_window_set_transient_for (GdkWindow *window,
GdkWindowImplQuartz *window_impl;
GdkWindowImplQuartz *parent_impl;
- if (!GDK_WINDOW_DESTROYED (window) && !GDK_WINDOW_DESTROYED (parent) &&
- WINDOW_IS_TOPLEVEL (window))
+ if (GDK_WINDOW_DESTROYED (window) || GDK_WINDOW_DESTROYED (parent) ||
+ !WINDOW_IS_TOPLEVEL (window))
return;
window_impl = GDK_WINDOW_IMPL_QUARTZ (GDK_WINDOW_OBJECT (window)->impl);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]