[gobject-introspection] barapp: Don't call g_thread_init()



commit df189c388b458475ac866715c7ff61a2d2cd7ccf
Author: Colin Walters <walters verbum org>
Date:   Tue Oct 18 15:25:27 2011 -0400

    barapp: Don't call g_thread_init()
    
    We don't need to, and if we wanted to, we have to link against
    -lgthread.
    
    Spotted by Rico Tzschichholz

 tests/scanner/barapp.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/tests/scanner/barapp.c b/tests/scanner/barapp.c
index de296ef..b7ac119 100644
--- a/tests/scanner/barapp.c
+++ b/tests/scanner/barapp.c
@@ -54,7 +54,6 @@ main(int argc, char **argv)
       return 1;
     }
   g_type_init ();
-  g_thread_init (NULL);
 
   if (!g_irepository_dump (argv[1] + strlen (prefix), &error))
     {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]