summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2011-12-05 17:29:32 -0500
committerRyan Lortie <desrt@desrt.ca>2011-12-19 12:51:11 -0500
commitf05cfd55f0e3067e4df1bcabdcd80616b8d0e539 (patch)
treeb9d8c1f3604c431d6e07dd71a4eeb018f5e7dcfa /examples
parent153cc818db6ad45d624fc513a9ac4489287de1df (diff)
downloadgtk+-f05cfd55f0e3067e4df1bcabdcd80616b8d0e539.tar.gz
Bloatpad: Add an accelerator
Diffstat (limited to 'examples')
-rw-r--r--examples/bloatpad.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/examples/bloatpad.c b/examples/bloatpad.c
index 93b9b6c736..50e30b0d65 100644
--- a/examples/bloatpad.c
+++ b/examples/bloatpad.c
@@ -254,6 +254,8 @@ main (int argc, char **argv)
int status;
bloat_pad = bloat_pad_new ();
+ gtk_application_add_accelerator (GTK_APPLICATION (bloat_pad),
+ "F11", "win.fullscreen", NULL);
status = g_application_run (G_APPLICATION (bloat_pad), argc, argv);
g_object_unref (bloat_pad);