SugarExt: drop pygobject2 initialisation

Now that we avoid linking with pygtk2/pygobject2, we need to remove
this initialisation call so that the module can be loaded at runtime.

Signed-off-by: Daniel Drake <dsd@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
This commit is contained in:
Daniel Drake 2011-12-14 23:22:15 +00:00 committed by Simon Schampijer
parent 3962517a58
commit 5ad2fc7d6b

View File

@ -31,8 +31,6 @@ init_sugarbaseext(void)
{ {
PyObject *m, *d; PyObject *m, *d;
init_pygobject ();
m = Py_InitModule ("_sugarbaseext", py_sugarbaseext_functions); m = Py_InitModule ("_sugarbaseext", py_sugarbaseext_functions);
d = PyModule_GetDict (m); d = PyModule_GetDict (m);