summaryrefslogtreecommitdiff
path: root/tests/testscale.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2016-12-28 08:53:22 -0500
committerMatthias Clasen <mclasen@redhat.com>2017-01-19 13:50:17 -0500
commit2c7e567f05eb31aa3b78ed83fd92a09153525210 (patch)
treea37b930ca56af69554ef2f8c49e3efbb56fcab00 /tests/testscale.c
parent4d7fa52fe9e41f7d3f1b54b6f82bd28f99b7ec92 (diff)
downloadgtk+-2c7e567f05eb31aa3b78ed83fd92a09153525210.tar.gz
Update callers
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'tests/testscale.c')
-rw-r--r--tests/testscale.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testscale.c b/tests/testscale.c
index a8294ca4a3..a74613c831 100644
--- a/tests/testscale.c
+++ b/tests/testscale.c
@@ -114,7 +114,7 @@ int main (int argc, char *argv[])
gdouble pos_marks[4] = { 0.0, 33.3, 66.6, 100.0 };
const gchar *pos_labels[4] = { "Left", "Right", "Top", "Bottom" };
- gtk_init (&argc, &argv);
+ gtk_init ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "Ranges with marks");