[pygobject] include the correct pycairo version



commit 5d79498d38b147b66ae72c1481e397160491e8d6
Author: John (J5) Palmieri <johnp redhat com>
Date:   Wed Sep 15 10:26:20 2010 -0400

    include the correct pycairo version
    
    https://bugzilla.gnome.org/show_bug.cgi?id=615872

 gi/pygi-foreign-cairo.c |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/gi/pygi-foreign-cairo.c b/gi/pygi-foreign-cairo.c
index 21692c5..095f6cb 100644
--- a/gi/pygi-foreign-cairo.c
+++ b/gi/pygi-foreign-cairo.c
@@ -22,7 +22,13 @@
  */
 
 #include <cairo.h>
+
+#if PY_VERSION_HEX < 0x03000000
 #include <pycairo.h>
+#else
+#include <pycairo/py3cairo.h>
+#endif
+
 Pycairo_CAPI_t *Pycairo_CAPI;
 
 #include "pygi-foreign.h"



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