unset the GTK_REALIZED flag so we don't re-enter when we are destroyed
2001-11-01 Michael Meeks <michael@ximian.com> * gtk/gtksocket.c (gtk_socket_unrealize): unset the GTK_REALIZED flag so we don't re-enter when we are destroyed from the plug side.
This commit is contained in:
parent
2145a4ef10
commit
f3740fb2ab
8 changed files with 44 additions and 0 deletions
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -1,3 +1,9 @@
|
|||
2001-11-01 Michael Meeks <michael@ximian.com>
|
||||
|
||||
* gtk/gtksocket.c (gtk_socket_unrealize): unset the
|
||||
GTK_REALIZED flag so we don't re-enter when we are
|
||||
destroyed from the plug side.
|
||||
|
||||
Wed Oct 31 18:23:47 2001 Owen Taylor <otaylor@redhat.com>
|
||||
|
||||
* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
|
||||
|
|
|
|||
|
|
@ -340,6 +340,8 @@ gtk_socket_unrealize (GtkWidget *widget)
|
|||
{
|
||||
GtkSocket *socket = GTK_SOCKET (widget);
|
||||
|
||||
GTK_WIDGET_UNSET_FLAGS (widget, GTK_REALIZED);
|
||||
|
||||
if (socket->plug_widget)
|
||||
{
|
||||
_gtk_plug_remove_from_socket (GTK_PLUG (socket->plug_widget), socket);
|
||||
|
|
|
|||
Loading…
Reference in a new issue