[pygobject] Fix previous commit for Python 2



commit 9d7771affcf788d251cced65da56fc2773a278b3
Author: Martin Pitt <martinpitt gnome org>
Date:   Wed Nov 14 07:01:24 2012 +0100

    Fix previous commit for Python 2

 gi/pygi-foreign-cairo.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
index 2435e70..3fe6a39 100644
--- a/gi/pygi-foreign-cairo.c
+++ b/gi/pygi-foreign-cairo.c
@@ -25,8 +25,8 @@
 #include <Python.h>
 
 #if PY_VERSION_HEX < 0x03000000
-static Pycairo_CAPI_t *Pycairo_CAPI;
 #include <pycairo.h>
+static Pycairo_CAPI_t *Pycairo_CAPI;
 #else
 #include <pycairo/py3cairo.h>
 #endif



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]