diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/examples/test-thread.c | 3 | ||||
-rw-r--r-- | tests/examples/test.c | 3 | ||||
-rw-r--r-- | tests/gtest/gupnp-simple-igd.c | 2 |
3 files changed, 0 insertions, 8 deletions
diff --git a/tests/examples/test-thread.c b/tests/examples/test-thread.c index ce6d669..4ff97cb 100644 --- a/tests/examples/test-thread.c +++ b/tests/examples/test-thread.c @@ -52,9 +52,6 @@ main (int argc, char **argv) internal_port = atoi (argv[3]); g_return_val_if_fail (external_port && internal_port, 1); - g_type_init (); - g_thread_init (NULL); - igd = gupnp_simple_igd_thread_new (); g_signal_connect (igd, "mapped-external-port", diff --git a/tests/examples/test.c b/tests/examples/test.c index d2faa80..128defd 100644 --- a/tests/examples/test.c +++ b/tests/examples/test.c @@ -67,9 +67,6 @@ main (int argc, char **argv) internal_port = atoi (argv[3]); g_return_val_if_fail (external_port && internal_port, 1); - g_type_init (); - g_thread_init (NULL); - ctx = g_main_context_new (); loop = g_main_loop_new (ctx, FALSE); diff --git a/tests/gtest/gupnp-simple-igd.c b/tests/gtest/gupnp-simple-igd.c index d051d13..6e62fea 100644 --- a/tests/gtest/gupnp-simple-igd.c +++ b/tests/gtest/gupnp-simple-igd.c @@ -475,8 +475,6 @@ test_gupnp_simple_igd_empty_ip(void) int main (int argc, char **argv) { - g_type_init (); - g_thread_init (NULL); g_test_init (&argc, &argv, NULL); g_test_add_func("/simpleigd/new", test_gupnp_simple_igd_new); |