summaryrefslogtreecommitdiff
path: root/gtk/gtkshortcutcontroller.h
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2018-08-12 01:38:50 +0200
committerMatthias Clasen <mclasen@redhat.com>2020-03-25 22:36:03 -0400
commit58e8f2332d1b6068ae10265cf7fab9eb6af1f157 (patch)
tree54689dbf22efddd87fd11c1624dad19974674c57 /gtk/gtkshortcutcontroller.h
parent376dc4d1691317957bd94a85dea1cf695713e619 (diff)
downloadgtk+-58e8f2332d1b6068ae10265cf7fab9eb6af1f157.tar.gz
shortcutcontroller: Add gtk_shortcut_controller_add_shortcut()
... and gtk_shortcut_controller_remove_shortcut().
Diffstat (limited to 'gtk/gtkshortcutcontroller.h')
-rw-r--r--gtk/gtkshortcutcontroller.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkshortcutcontroller.h b/gtk/gtkshortcutcontroller.h
index 91fb97d67c..e078e3241a 100644
--- a/gtk/gtkshortcutcontroller.h
+++ b/gtk/gtkshortcutcontroller.h
@@ -45,6 +45,13 @@ GType gtk_shortcut_controller_get_type (void) G
GDK_AVAILABLE_IN_ALL
GtkEventController * gtk_shortcut_controller_new (void);
+GDK_AVAILABLE_IN_ALL
+void gtk_shortcut_controller_add_shortcut (GtkShortcutController *controller,
+ GtkShortcut *shortcut);
+GDK_AVAILABLE_IN_ALL
+void gtk_shortcut_controller_remove_shortcut (GtkShortcutController *controller,
+ GtkShortcut *shortcut);
+
G_END_DECLS
#endif /* __GTK_SHORTCUT_CONTROLLER_H__ */