Marked plug window as destroyed before destroying the window.

Fri Dec 18 15:19:54 1998  Owen Taylor  <otaylor@redhat.com>

	* gtk/gtksocket.c (gtk_socket_filter_func): Marked
	plug window as destroyed before destroying the
	window.
This commit is contained in:
Owen Taylor 1998-12-18 20:47:21 +00:00 committed by Owen Taylor
parent 8592d1c309
commit 6704cf6e1a
8 changed files with 43 additions and 1 deletions

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -1,3 +1,9 @@
Fri Dec 18 15:19:54 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtksocket.c (gtk_socket_filter_func): Marked
plug window as destroyed before destroying the
window.
Fri Dec 18 14:17:14 1998 Owen Taylor <otaylor@redhat.com>
* gtk/gtkmenu.c (gtk_menu_popup): Set the usize on the

View File

@ -622,8 +622,8 @@ gtk_socket_filter_func (GdkXEvent *gdk_xevent, GdkEvent *event, gpointer data)
toplevel = gtk_widget_get_toplevel (GTK_WIDGET (socket));
if (toplevel && GTK_IS_WINDOW (toplevel))
gtk_window_remove_embedded_xid (GTK_WINDOW (toplevel), xdwe->window);
gtk_widget_destroy (widget);
gdk_window_destroy_notify (socket->plug_window);
gtk_widget_destroy (widget);
socket->plug_window = NULL;