Commit d5979375 authored by Owen Taylor's avatar Owen Taylor Committed by Owen Taylor

Change window_private->parent pointer when reparenting.

Sun Aug  2 03:08:07 1998  Owen Taylor  <otaylor@gtk.org>

        * gdk/gdkwindow.c (gdk_window_reparent): Change
          window_private->parent pointer when reparenting.
parent 7ba4ba0d
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
Sun Aug 2 03:08:07 1998 Owen Taylor <otaylor@gtk.org>
* gdk/gdkwindow.c (gdk_window_reparent): Change
window_private->parent pointer when reparenting.
Sat Aug 1 22:17:00 1998 Raph Levien <raph@acm.org>
* gdk/gdkrgb.c: made some minor config changes to unify GdkRgb
......@@ -170,6 +175,7 @@ Fri, 24 Jul 1998 10:56:22 +0200 Paolo Molaro <lupus@debian.org>
* gtk/gtkfeatures.h.in: added GTK_HAVE_ENUM_VALUE_STRUCT.
>>>>>>> 1.560
Thu Jul 23 00:11:39 1998 Tim Janik <timj@gtk.org>
* gtk/testgtkrc: introduce testbindings on C-1 for buttons,
......
......@@ -857,6 +857,8 @@ gdk_window_reparent (GdkWindow *window,
parent_private->xwindow,
x, y);
window_private->parent = new_parent;
if (old_parent_private)
old_parent_private->children = g_list_remove (old_parent_private->children, window);
parent_private->children = g_list_prepend (parent_private->children, window);
......
......@@ -857,6 +857,8 @@ gdk_window_reparent (GdkWindow *window,
parent_private->xwindow,
x, y);
window_private->parent = new_parent;
if (old_parent_private)
old_parent_private->children = g_list_remove (old_parent_private->children, window);
parent_private->children = g_list_prepend (parent_private->children, window);
......
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