Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Drake <dsd@laptop.org>2011-12-13 19:54:25 (GMT)
committer Simon Schampijer <simon@schampijer.de>2011-12-13 20:35:33 (GMT)
commit64cceeada99c191065dbf1e8a51a7376424997a3 (patch)
tree994cbbdb4853d15dc7dd371a1ca7ced3296a5a20
parent4e137f6e4f131e5bb5b468d02af8f646da1fc28a (diff)
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.
-rw-r--r--src/sugar3/_sugarbaseextmodule.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sugar3/_sugarbaseextmodule.c b/src/sugar3/_sugarbaseextmodule.c
index 01a70d7..ebc1310 100644
--- a/src/sugar3/_sugarbaseextmodule.c
+++ b/src/sugar3/_sugarbaseextmodule.c
@@ -22,7 +22,7 @@
#endif
/* include this first, before NO_IMPORT_PYGOBJECT is defined */
-#include <pygobject.h>
+#include <Python.h>
extern PyMethodDef py_sugarbaseext_functions[];