Remove bindings activation from GtkEventControllerKey
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 6 Feb 2020 15:01:18 +0000 (15:01 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Thu, 26 Mar 2020 02:36:03 +0000 (22:36 -0400)
We're going to use shortcuts soon.

gtk/gtkeventcontrollerkey.c

index efb1befb58a1098dadc44b3d8b0afc857ebda7bc..62614dbf793db45fa6511852385ab1bc1f7e640d 100644 (file)
@@ -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;
 }