summaryrefslogtreecommitdiff
path: root/tests/testscale.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@gimp.org>2010-10-31 18:07:20 +0100
committerTristan Van Berkom <tristan.van.berkom@gmail.com>2010-11-02 12:04:35 +0900
commit260ccdfebef9e17842dcc162aefba46fe5459c7c (patch)
tree52e18d59f343ae23c75a7cf186009b27237a11c3 /tests/testscale.c
parentc50f79041776098cecc4b65bbe4305173dff0847 (diff)
downloadgtk+-260ccdfebef9e17842dcc162aefba46fe5459c7c.tar.gz
gtk: remove "gboolean homogeneous" from gtk_box_new()
Because it's FALSE in virtually all use cases.
Diffstat (limited to 'tests/testscale.c')
-rwxr-xr-xtests/testscale.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/testscale.c b/tests/testscale.c
index 0ee26749c9..8621c3f2c9 100755
--- a/tests/testscale.c
+++ b/tests/testscale.c
@@ -46,7 +46,7 @@ int main (int argc, char *argv[])
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Ranges with marks");
- box = gtk_box_new (GTK_ORIENTATION_VERTICAL, FALSE, 5);
+ box = gtk_box_new (GTK_ORIENTATION_VERTICAL, 5);
frame = gtk_frame_new ("No marks");
scale = gtk_scale_new_with_range (GTK_ORIENTATION_HORIZONTAL,
@@ -96,7 +96,7 @@ int main (int argc, char *argv[])
gtk_container_add (GTK_CONTAINER (frame), scale);
gtk_box_pack_start (GTK_BOX (box), frame, FALSE, FALSE, 0);
- box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, FALSE, 5);
+ box2 = gtk_box_new (GTK_ORIENTATION_HORIZONTAL, 5);
gtk_box_pack_start (GTK_BOX (box), box2, TRUE, TRUE, 0);
frame = gtk_frame_new ("No marks");