summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutcontroller.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-03-15 09:49:50 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-03-25 22:36:03 -0400
commit6d452f1eb815766910d40f68730d81f7c85c35a5 (patch)
tree4d27e388b3e0b9b4d8f527be638b925b3e7b47a4 /gtk/gtkshortcutcontroller.c
parentd51b8ff058d9fb802733b23398ea70c3bd658af2 (diff)
downloadgtk+-6d452f1eb815766910d40f68730d81f7c85c35a5.tar.gz
shortcut: Add GtkShortcutTrigger
Triggers are meant to describe how to trigger a shortcut. So far only a keyval + modifiers trigger exists.
Diffstat (limited to 'gtk/gtkshortcutcontroller.c')
-rw-r--r--gtk/gtkshortcutcontroller.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkshortcutcontroller.c b/gtk/gtkshortcutcontroller.c
index a4c757a699..6d57bb7b7a 100644
--- a/gtk/gtkshortcutcontroller.c
+++ b/gtk/gtkshortcutcontroller.c
@@ -62,7 +62,7 @@ gtk_shortcut_controller_finalize (GObject *object)
static gboolean
gtk_shortcut_controller_trigger_shortcut (GtkShortcutController *self,
GtkShortcut *shortcut,
- const GdkEvent *event)
+ GdkEvent *event)
{
if (!gtk_shortcut_trigger (shortcut, event))
return FALSE;