mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-28 22:41:43 +00:00
gtkwidget: Drop obsolete code
This path is not being hit anymore, gtkmain.c does handle those events itself.
This commit is contained in:
parent
bb0e964f56
commit
55b32c8a8f
@ -5242,18 +5242,6 @@ gtk_widget_event_internal (GtkWidget *widget,
|
||||
if (!event_surface_is_still_viewable (event))
|
||||
return TRUE;
|
||||
|
||||
/* Non input events get handled right away */
|
||||
switch ((guint) event->any.type)
|
||||
{
|
||||
case GDK_NOTHING:
|
||||
case GDK_DELETE:
|
||||
case GDK_DESTROY:
|
||||
case GDK_CONFIGURE:
|
||||
return gtk_widget_emit_event_signals (widget, event);
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
event_copy = gdk_event_copy (event);
|
||||
|
||||
translate_event_coordinates (event_copy, widget);
|
||||
|
Loading…
Reference in New Issue
Block a user