check if old_parent_private is not NULL before trying to g_list_remove the
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com> * gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private is not NULL before trying to g_list_remove the child. A patch from Michael Lausch. this finally fixes the swallows for the panel :)
This commit is contained in:
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -1,3 +1,9 @@
|
|||||||
|
Mon Jul 13 12:42:51 1998 George Lebl <jirka@5z.com>
|
||||||
|
|
||||||
|
* gdk/gdkwindow.h: (gdk_window_reparent) check if old_parent_private
|
||||||
|
is not NULL before trying to g_list_remove the child. A patch
|
||||||
|
from Michael Lausch.
|
||||||
|
|
||||||
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
Sun Jul 12 16:40:06 1998 Tim Janik <timj@gtk.org>
|
||||||
|
|
||||||
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
* gtk/gtkargcollector.c (gtk_arg_collect_value): fix float argument
|
||||||
|
@ -853,7 +853,8 @@ gdk_window_reparent (GdkWindow *window,
|
|||||||
parent_private->xwindow,
|
parent_private->xwindow,
|
||||||
x, y);
|
x, y);
|
||||||
|
|
||||||
old_parent_private->children = g_list_remove (old_parent_private->children, window);
|
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);
|
parent_private->children = g_list_prepend (parent_private->children, window);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
@ -853,7 +853,8 @@ gdk_window_reparent (GdkWindow *window,
|
|||||||
parent_private->xwindow,
|
parent_private->xwindow,
|
||||||
x, y);
|
x, y);
|
||||||
|
|
||||||
old_parent_private->children = g_list_remove (old_parent_private->children, window);
|
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);
|
parent_private->children = g_list_prepend (parent_private->children, window);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user