[librsvg] Don't use deprecated g_thread_init



commit dfd6cbedfb42b1d338b8ac931c4c6f3dd7bf86d1
Author: Christian Persch <chpe gnome org>
Date:   Mon Nov 7 18:08:58 2011 +0100

    Don't use deprecated g_thread_init
    
    Since we depend on glib 2.24 where g_type_init() already calls
    g_thread_init(), just use g_type_init() here instead.

 rsvg-convert.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/rsvg-convert.c b/rsvg-convert.c
index bd89d33..bec9beb 100644
--- a/rsvg-convert.c
+++ b/rsvg-convert.c
@@ -181,7 +181,7 @@ main (int argc, char **argv)
     /* Set the locale so that UTF-8 filenames work */
     setlocale(LC_ALL, "");
 
-    g_thread_init(NULL);
+    g_type_init ();
 
     g_option_context = g_option_context_new (_("- SVG Converter"));
     g_option_context_add_main_entries (g_option_context, options_table, NULL);



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