Improve GInitable test coverage

This just adds a bit more variety to the uses of GInitiable
in other tests.
This commit is contained in:
Matthias Clasen 2013-12-23 12:07:11 -05:00
parent 243bec9d0d
commit e021bb9101

View File

@ -243,7 +243,7 @@ test_default (void)
m = g_network_monitor_get_default (); m = g_network_monitor_get_default ();
g_assert (G_IS_NETWORK_MONITOR (m)); 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); g_assert_no_error (error);
/* In the default configuration, all addresses are reachable */ /* In the default configuration, all addresses are reachable */