[gtk/wip/ebassi/shortcut: 222/267] Remove bindings activation from GtkEventControllerKey



commit f90cfb04ced4ce859301c5a11f9f4e655fd00f48
Author: Emmanuele Bassi <ebassi gnome org>
Date:   Thu Feb 6 15:01:18 2020 +0000

    Remove bindings activation from GtkEventControllerKey
    
    We're going to use shortcuts soon.

 gtk/gtkeventcontrollerkey.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/gtk/gtkeventcontrollerkey.c b/gtk/gtkeventcontrollerkey.c
index db7acbc8fd..d501cedf92 100644
--- a/gtk/gtkeventcontrollerkey.c
+++ b/gtk/gtkeventcontrollerkey.c
@@ -35,7 +35,6 @@
 #include "gtkwidgetprivate.h"
 #include "gtkeventcontrollerprivate.h"
 #include "gtkeventcontrollerkey.h"
-#include "gtkbindings.h"
 #include "gtkenums.h"
 #include "gtkmain.h"
 
@@ -516,9 +515,6 @@ gtk_event_controller_key_forward (GtkEventControllerKey *controller,
                                  GTK_PHASE_BUBBLE))
     return TRUE;
 
-  if (gtk_bindings_activate_event (G_OBJECT (widget), (GdkEventKey *)controller->current_event))
-    return TRUE;
-
   return FALSE;
 }
 


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