[librsvg] Don't call g_thread_init



commit 82d434411d3bae82a99909a9aae325eadd55e24e
Author: Christian Persch <chpe gnome org>
Date:   Sat Oct 22 18:53:18 2011 +0200

    Don't call g_thread_init
    
    It's deprecated.

 test-display.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/test-display.c b/test-display.c
index 89d6de8..c4abdca 100644
--- a/test-display.c
+++ b/test-display.c
@@ -771,7 +771,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 ();
 
     info.pixbuf = NULL;
     info.svg_bytes = NULL;



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