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:
Daniel Drake 2011-12-13 19:54:25 +00:00 committed by Simon Schampijer
parent 4e137f6e4f
commit 64cceeada9

View File

@ -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[];