summaryrefslogtreecommitdiff
path: root/tests/motion-compression.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/motion-compression.c')
-rw-r--r--tests/motion-compression.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tests/motion-compression.c b/tests/motion-compression.c
index 8521dd92e1..5cd7bf5f89 100644
--- a/tests/motion-compression.c
+++ b/tests/motion-compression.c
@@ -54,15 +54,16 @@ main (int argc, char **argv)
adjustment = gtk_adjustment_new (20, 0, 200, 1, 10, 0);
scale = gtk_scale_new (GTK_ORIENTATION_HORIZONTAL, adjustment);
- gtk_box_pack_end (GTK_BOX (vbox), scale, FALSE, FALSE);
+ gtk_box_pack_end (GTK_BOX (vbox), scale, FALSE);
label = gtk_label_new ("Event processing time (ms):");
gtk_widget_set_halign (label, GTK_ALIGN_CENTER);
- gtk_box_pack_end (GTK_BOX (vbox), label, FALSE, FALSE);
+ gtk_box_pack_end (GTK_BOX (vbox), label, FALSE);
da = gtk_drawing_area_new ();
gtk_drawing_area_set_draw_func (GTK_DRAWING_AREA (da), on_draw, NULL, NULL);
- gtk_box_pack_end (GTK_BOX (vbox), da, TRUE, TRUE);
+ gtk_widget_set_vexpand (da, TRUE);
+ gtk_box_pack_end (GTK_BOX (vbox), da, TRUE);
g_signal_connect (window, "motion-notify-event",
G_CALLBACK (on_motion_notify), NULL);