summaryrefslogtreecommitdiffstats
path: root/gio/pygio-utils.h
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 /gio/pygio-utils.h
parent38a87937b2223e28baa94a8c4014a598bf957688 (diff)
downloadpygobject-7f0bd05620ae6ece9e324345c7e0270631c5a127.tar.gz
pygobject-7f0bd05620ae6ece9e324345c7e0270631c5a127.tar.xz
pygobject-7f0bd05620ae6ece9e324345c7e0270631c5a127.zip
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
Diffstat (limited to 'gio/pygio-utils.h')
-rw-r--r--gio/pygio-utils.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/gio/pygio-utils.h b/gio/pygio-utils.h
index 0ebad55..02645ba 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;