[gtk/wip/matthiasc/shortcut-2: 50/117] Remove bindings activation from GtkEventControllerKey



commit f91f2571889d5b6744c413c119ee7f93ae1fdcad
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 efb1befb58..62614dbf79 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"
 #include "gtktypebuiltins.h"
@@ -368,9 +367,6 @@ gtk_event_controller_key_forward (GtkEventControllerKey *controller,
                                   GTK_PHASE_BUBBLE))
     return TRUE;
 
-  if (gtk_bindings_activate_event (G_OBJECT (widget), controller->current_event))
-    return TRUE;
-
   return FALSE;
 }
 


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