gio/tests/giomodule.c: Use G_MODULE_SUFFIX
[platform/upstream/glib.git] / gio / tests / socket-client.c
index 0b49fc1..62dda89 100644 (file)
@@ -261,8 +261,6 @@ main (int argc,
   GTlsCertificate *certificate = NULL;
   gint i;
 
-  g_type_init ();
-
   address = NULL;
   connection = NULL;
 
@@ -289,10 +287,8 @@ main (int argc,
   if (cancel_timeout)
     {
       GThread *thread;
-
       cancellable = g_cancellable_new ();
-      thread = g_thread_new ("cancel", cancel_thread, cancellable, NULL);
-      g_assert (thread != NULL);
+      thread = g_thread_new ("cancel", cancel_thread, cancellable);
       g_thread_unref (thread);
     }
   else