summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2013-02-01 21:46:07 -0500
committerMatthias Clasen <mclasen@redhat.com>2013-02-01 21:46:07 -0500
commitee6e7d64332c784f5141405b32baf77b96436162 (patch)
tree611e499993d6666a9a1de86f9c9289c9a65cb77c /demos
parentf9b79f2095499f791d81e0e7dd887fc36c850fac (diff)
downloadgtk+-ee6e7d64332c784f5141405b32baf77b96436162.tar.gz
Set the notebook to be scrollable
The pixbufs example has just too many files..
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 8bf1014787..80a51bcc81 100644
--- a/demos/gtk-demo/main.c
+++ b/demos/gtk-demo/main.c
@@ -894,6 +894,7 @@ main (int argc, char **argv)
gtk_box_pack_start (GTK_BOX (hbox), tree, FALSE, FALSE, 0);
notebook = gtk_notebook_new ();
+ gtk_notebook_set_scrollable (GTK_NOTEBOOK (notebook), TRUE);
gtk_box_pack_start (GTK_BOX (hbox), notebook, TRUE, TRUE, 0);
gtk_notebook_append_page (GTK_NOTEBOOK (notebook),