[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:15:08 +0000 (UTC)
commit b514c6ac22300b99836f1c6a1abaa97f41f448f3
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
Also fix a similar error in gdk_window_set_transient_for.
This fixes bug 589738
gdk/quartz/gdkwindow-quartz.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/quartz/gdkwindow-quartz.c b/gdk/quartz/gdkwindow-quartz.c
index a216b7f..43f93f9 100644
--- a/gdk/quartz/gdkwindow-quartz.c
+++ b/gdk/quartz/gdkwindow-quartz.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]