summaryrefslogtreecommitdiff
path: root/tests/testscale.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-04-21 18:59:59 +0200
committerTimm Bäder <mail@baedert.org>2017-04-25 20:30:37 +0200
commit5729ea7744c2a41ae8fb833db6690a6aa5ad7a84 (patch)
treeddda46f8b6c07a999ee9b844ec3a9c863b55a850 /tests/testscale.c
parent8f4c0bea6558dc98a2abd7e63436b1ce4caf689e (diff)
downloadgtk+-5729ea7744c2a41ae8fb833db6690a6aa5ad7a84.tar.gz
box: Remove expand child property
GtkWidget already has hexpand/vexpand properties.
Diffstat (limited to 'tests/testscale.c')
-rw-r--r--tests/testscale.c16
1 files changed, 8 insertions, 8 deletions
diff --git a/tests/testscale.c b/tests/testscale.c
index f33c22c62d..b4065e5dbd 100644
--- a/tests/testscale.c
+++ b/tests/testscale.c
@@ -130,7 +130,7 @@ int main (int argc, char *argv[])
scales = g_slist_prepend (scales, scale);
gtk_scale_set_draw_value (GTK_SCALE (scale), FALSE);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("With fill level");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -139,7 +139,7 @@ int main (int argc, char *argv[])
gtk_range_set_show_fill_level (GTK_RANGE (scale), TRUE);
gtk_range_set_fill_level (GTK_RANGE (scale), 50);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Simple marks");
extra_scale = scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -149,7 +149,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_BOTTOM, NULL);
gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_BOTTOM, NULL);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Simple marks up");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -159,7 +159,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_TOP, NULL);
gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_TOP, NULL);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Labeled marks");
box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
@@ -171,7 +171,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_BOTTOM, labels[1]);
gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_BOTTOM, labels[2]);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Some labels");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -181,7 +181,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), marks[1], GTK_POS_TOP, NULL);
gtk_scale_add_mark (GTK_SCALE (scale), marks[2], GTK_POS_TOP, labels[2]);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Above and below");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -192,7 +192,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), bath_marks[2], GTK_POS_BOTTOM, bath_labels[2]);
gtk_scale_add_mark (GTK_SCALE (scale), bath_marks[3], GTK_POS_TOP, bath_labels[3]);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
frame = gtk_frame_new ("Positions");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL, 0, 100, 1);
@@ -203,7 +203,7 @@ int main (int argc, char *argv[])
gtk_scale_add_mark (GTK_SCALE (scale), pos_marks[2], GTK_POS_TOP, pos_labels[2]);
gtk_scale_add_mark (GTK_SCALE (scale), pos_marks[3], GTK_POS_BOTTOM, pos_labels[3]);
gtk_container_add (GTK_CONTAINER (frame), scale);
- gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE);
+ gtk_box_pack_start (GTK_BOX (box), frame, FALSE);
box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 6);
gtk_container_add (GTK_CONTAINER (box1), box2);