summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohan Dahlin <johan@gnome.org>2008-07-18 08:25:21 +0000
committerJohan Dahlin <johan@src.gnome.org>2008-07-18 08:25:21 +0000
commit7f0bd05620ae6ece9e324345c7e0270631c5a127 (patch)
tree7f680e77fc4962545e5456947e251203ae22fee9
parent38a87937b2223e28baa94a8c4014a598bf957688 (diff)
downloadpygobject-7f0bd05620ae6ece9e324345c7e0270631c5a127.tar.gz
define NO_IMPORT_PYGOBJECT before including pygobject.h
2008-07-18 Johan Dahlin <johan@gnome.org> * gio/pygio-utils.h: define NO_IMPORT_PYGOBJECT before including pygobject.h svn path=/trunk/; revision=826
-rw-r--r--ChangeLog5
-rw-r--r--gio/pygio-utils.h3
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 274ce1a6..1cd47fbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2008-07-18 Johan Dahlin <johan@gnome.org>
+ * gio/pygio-utils.h:
+ define NO_IMPORT_PYGOBJECT before including pygobject.h
+
+2008-07-18 Johan Dahlin <johan@gnome.org>
+
* gio/giomodule.c (init_gio):
Require pygobject 2.15.2
diff --git a/gio/pygio-utils.h b/gio/pygio-utils.h
index 0ebad553..02645baa 100644
--- a/gio/pygio-utils.h
+++ b/gio/pygio-utils.h
@@ -23,9 +23,10 @@
#ifndef __PYGIO_UTILS_H__
#define __PYGIO_UTILS_H__
+#define NO_IMPORT_PYGOBJECT
#include <Python.h>
-#include <gio/gio.h>
#include <pygobject.h>
+#include <gio/gio.h>
extern PyTypeObject PyGCancellable_Type;