Commit 92b1967c authored by Matthias Clasen's avatar Matthias Clasen Committed by Matthias Clasen

If the window is destroyed, we still need to deliver the destroy event.

2005-09-02  Matthias Clasen  <mclasen@redhat.com>

	* gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
	we still need to deliver the destroy event.  (#314980, Chris Lahey)
parent 9846428b
2005-09-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
we still need to deliver the destroy event. (#314980, Chris Lahey)
* gtk/gtktextview.c (gtk_text_view_key_press_event): Reset
im context before committing \n or \t.
......
2005-09-02 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkmain.c (gtk_get_event_widget): If the window is destroyed,
we still need to deliver the destroy event. (#314980, Chris Lahey)
* gtk/gtktextview.c (gtk_text_view_key_press_event): Reset
im context before committing \n or \t.
......
......@@ -2044,7 +2044,7 @@ gtk_get_event_widget (GdkEvent *event)
widget = NULL;
if (event && event->any.window &&
!GDK_WINDOW_DESTROYED (event->any.window))
(event->type == GDK_DESTROY || !GDK_WINDOW_DESTROYED (event->any.window)))
gdk_window_get_user_data (event->any.window, (void**) &widget);
return widget;
......
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