forked from AuroraMiddleware/gtk
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)
This commit is contained in:
parent
9846428b25
commit
92b1967c12
@ -1,5 +1,8 @@
|
||||
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.
|
||||
|
||||
|
@ -1,5 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user