[gtk/wip/carlosg/public-legacy-controller: 3/8] gtkwidget: Drop obsolete code



commit 55b32c8a8ff69fe211c364d4b6ffb016c43cde49
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Oct 12 19:45:00 2018 +0200

    gtkwidget: Drop obsolete code
    
    This path is not being hit anymore, gtkmain.c does handle those events
    itself.

 gtk/gtkwidget.c | 12 ------------
 1 file changed, 12 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index a61de0dd99..b496e6954c 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -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);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]