summaryrefslogtreecommitdiff
path: root/tests/testswitch.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/testswitch.c
parent4d7fa52fe9e41f7d3f1b54b6f82bd28f99b7ec92 (diff)
downloadgtk+-2c7e567f05eb31aa3b78ed83fd92a09153525210.tar.gz
Update callers
Adapt all our tests and examples to the new initialization api.
Diffstat (limited to 'tests/testswitch.c')
-rw-r--r--tests/testswitch.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testswitch.c b/tests/testswitch.c
index ee0a569846..0d07327ce0 100644
--- a/tests/testswitch.c
+++ b/tests/testswitch.c
@@ -156,7 +156,7 @@ int main (int argc, char *argv[])
GtkWidget *window;
GtkWidget *vbox, *hbox;
- gtk_init (&argc, &argv);
+ gtk_init ();
window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
gtk_window_set_title (GTK_WINDOW (window), "GtkSwitch");