From e021bb910176413f18904fce5e677916116bc9bf Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 23 Dec 2013 12:07:11 -0500 Subject: [PATCH] Improve GInitable test coverage This just adds a bit more variety to the uses of GInitiable in other tests. --- gio/tests/network-monitor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gio/tests/network-monitor.c b/gio/tests/network-monitor.c index 618b5e00e..8901199d6 100644 --- a/gio/tests/network-monitor.c +++ b/gio/tests/network-monitor.c @@ -243,7 +243,7 @@ test_default (void) m = g_network_monitor_get_default (); g_assert (G_IS_NETWORK_MONITOR (m)); - monitor = g_initable_new (G_TYPE_NETWORK_MONITOR_BASE, NULL, &error, NULL); + monitor = g_initable_newv (G_TYPE_NETWORK_MONITOR_BASE, 0, NULL, NULL, &error); g_assert_no_error (error); /* In the default configuration, all addresses are reachable */