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.
This commit is contained in:
Owen Taylor 1998-08-02 07:15:00 +00:00 committed by Owen Taylor
parent 7ba4ba0d2f
commit d597937560
9 changed files with 46 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -1,3 +1,8 @@
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,

View File

@ -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);

View File

@ -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);