SugarExt: fix compile without pygtk
We no longer compile this against pygtk, so remove the include. Add the now-required Python.h include in its place.
This commit is contained in:
parent
4e137f6e4f
commit
64cceeada9
@ -22,7 +22,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
|
||||||
#include <pygobject.h>
|
#include <Python.h>
|
||||||
|
|
||||||
extern PyMethodDef py_sugarbaseext_functions[];
|
extern PyMethodDef py_sugarbaseext_functions[];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user