summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2013-08-05 16:07:40 +0200
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2013-10-02 10:51:15 -0400
commit2bb01c6cc804da7fda621ca15a2838b40a2c208e (patch)
tree8d8c5474191242e2538bf6c63e742245fa224862 /demos
parent79e5069dffe737e7f9553027f271d711c67b9da8 (diff)
downloadgtk+-2bb01c6cc804da7fda621ca15a2838b40a2c208e.tar.gz
demo: Show popup menu on tabs
https://bugzilla.gnome.org/show_bug.cgi?id=707920
Diffstat (limited to 'demos')
-rw-r--r--demos/gtk-demo/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/gtk-demo/main.c b/demos/gtk-demo/main.c
index cf1a761a23..b1820332d1 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -930,6 +930,7 @@ main (int argc, char **argv)
notebook = gtk_notebook_new ();
gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
+ gtk_notebook_popup_enable (GTK_NOTEBOOK (notebook));
gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),