[pygobject] Remove g_type_init conditional call



commit 0dff1940caf52ea5f1de27cc801ea6d4dab3a446
Author: Jose Rostagno <joserostagno vijona com ar>
Date:   Sun Apr 21 19:09:59 2013 -0300

    Remove g_type_init conditional call
    
    It's deprecated in the glib version we depend on.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698763

 gi/_gobject/gobjectmodule.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/gi/_gobject/gobjectmodule.c b/gi/_gobject/gobjectmodule.c
index 93d5abc..3de839d 100644
--- a/gi/_gobject/gobjectmodule.c
+++ b/gi/_gobject/gobjectmodule.c
@@ -2166,9 +2166,6 @@ PYGLIB_MODULE_START(_gobject, "_gobject")
 {
     PyObject *d;
 
-#if !defined(GLIB_VERSION_2_36)
-    g_type_init();
-#endif
     pyglib_init();
 
     d = PyModule_GetDict(module);


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