summaryrefslogtreecommitdiff
path: root/gtk/gtkapplication.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-12-05 17:28:19 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:11 -0500
commit153cc818db6ad45d624fc513a9ac4489287de1df (patch)
treee8df748f8a947151da54ec1a47f8678fdc918678 /gtk/gtkapplication.h
parent1c6d0c3e274a932450cb66f5fd3ff2a29c40e91b (diff)
downloadgtk+-153cc818db6ad45d624fc513a9ac4489287de1df.tar.gz
GtkApplication: Add API to install accelerators for actions
Diffstat (limited to 'gtk/gtkapplication.h')
-rw-r--r--gtk/gtkapplication.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/gtk/gtkapplication.h b/gtk/gtkapplication.h
index 785afac625..a75d66c411 100644
--- a/gtk/gtkapplication.h
+++ b/gtk/gtkapplication.h
@@ -76,6 +76,13 @@ void gtk_application_remove_window (GtkApplication *application,
GList * gtk_application_get_windows (GtkApplication *application);
+void gtk_application_add_accelerator (GtkApplication *application,
+ const gchar *accelerator,
+ const gchar *action_name,
+ GVariant *parameter);
+void gtk_application_remove_accelerator (GtkApplication *application,
+ const gchar *action_name,
+ GVariant *parameter);
G_END_DECLS