summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2008-08-28 00:32:17 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-08-28 00:32:17 +0000
commit8f59f3adbb4413c41ac18ce8c9b068c7fd05e513 (patch)
treee42782ace96759f0a99e148938c8fd53c09e6567 /gdk
parentc2a194d3b1d2b7302411c9cefbe490d04ab939f6 (diff)
downloadgtk+-8f59f3adbb4413c41ac18ce8c9b068c7fd05e513.tar.gz
Return FALSE from reparent implementations to avoid #548993. Patch by Ed
2008-08-27 Matthias Clasen <mclasen@redhat.com> * gdk/x11/gdkwindow-x11.c: * gdk/win32/gdkwindow-win32.c: Return FALSE from reparent implementations to avoid #548993. Patch by Ed Catmur. svn path=/trunk/; revision=21215
Diffstat (limited to 'gdk')
-rw-r--r--gdk/win32/gdkwindow-win32.c2
-rw-r--r--gdk/x11/gdkwindow-x11.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/gdk/win32/gdkwindow-win32.c b/gdk/win32/gdkwindow-win32.c
index 576714ccc5..41a8b42c8f 100644
--- a/gdk/win32/gdkwindow-win32.c
+++ b/gdk/win32/gdkwindow-win32.c
@@ -1465,7 +1465,7 @@ gdk_win32_window_reparent (GdkWindow *window,
parent_private->children = g_list_prepend (parent_private->children, window);
_gdk_window_init_position (GDK_WINDOW (window_private));
- return TRUE;
+ return FALSE;
}
static void
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index cabebb48fa..eb2ae6c85e 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -1830,7 +1830,7 @@ gdk_window_x11_reparent (GdkWindow *window,
parent_private->children = g_list_prepend (parent_private->children, window);
_gdk_window_init_position (GDK_WINDOW (window_private));
- return TRUE;
+ return FALSE;
}
static void