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.
master
Daniel Drake 13 years ago committed by Simon Schampijer
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…
Cancel
Save