summaryrefslogtreecommitdiff
path: root/demos
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@src.gnome.org>1999-11-03 23:39:58 +0000
committerJonathan Blandford <jrb@src.gnome.org>1999-11-03 23:39:58 +0000
commit58e68f96832fa613efd014cb024084f05e78b40e (patch)
tree41c56433633119123de76c6ae3bbcf105391efa7 /demos
parent7cdf9176e1ec219c97b90436932c73d21b4efaaf (diff)
downloadgtk+-58e68f96832fa613efd014cb024084f05e78b40e.tar.gz
minor packing change
Diffstat (limited to 'demos')
-rw-r--r--demos/testpixbuf.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/demos/testpixbuf.c b/demos/testpixbuf.c
index 6c058232a3..8ccb40c5d2 100644
--- a/demos/testpixbuf.c
+++ b/demos/testpixbuf.c
@@ -361,6 +361,7 @@ new_testrgb_window (GdkPixbuf *pixbuf, gchar *title)
{
GtkWidget *window;
GtkWidget *vbox;
+ GtkWidget *temp_box;
GtkWidget *button;
GtkWidget *drawing_area;
gint w, h;
@@ -385,8 +386,11 @@ new_testrgb_window (GdkPixbuf *pixbuf, gchar *title)
drawing_area = gtk_drawing_area_new ();
+ temp_box = gtk_hbox_new (FALSE, 0);
gtk_drawing_area_size (GTK_DRAWING_AREA(drawing_area), w, h);
- gtk_box_pack_start (GTK_BOX (vbox), drawing_area, FALSE, TRUE, 0);
+ gtk_box_pack_start (GTK_BOX (temp_box), drawing_area, FALSE, FALSE, 0);
+ gtk_box_pack_start (GTK_BOX (vbox), temp_box, FALSE, FALSE, 0);
+
gtk_signal_connect (GTK_OBJECT(drawing_area), "expose_event",
GTK_SIGNAL_FUNC(expose_func), NULL);