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:
parent
3962517a58
commit
5ad2fc7d6b
@ -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);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user