[Sugar-devel] [PATCH sugar-toolkit-gtk3] SugarExt: drop pygobject2 initialisation

Daniel Drake dsd at laptop.org
Wed Dec 14 18:22:15 EST 2011


Now that we avoid linking with pygtk2/pygobject2, we need to remove
this initialisation call so that the module can be loaded at runtime.
---
 src/sugar3/_sugarbaseextmodule.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/src/sugar3/_sugarbaseextmodule.c b/src/sugar3/_sugarbaseextmodule.c
index ebc1310..57fb139 100644
--- a/src/sugar3/_sugarbaseextmodule.c
+++ b/src/sugar3/_sugarbaseextmodule.c
@@ -31,8 +31,6 @@ init_sugarbaseext(void)
 {
     PyObject *m, *d;
 
-    init_pygobject ();
-
     m = Py_InitModule ("_sugarbaseext", py_sugarbaseext_functions);
     d = PyModule_GetDict (m);
 
-- 
1.7.7.4



More information about the Sugar-devel mailing list