[gcompris/gcomprixogoo] Fixed to compile on Ubuntu 9.10 with the new pycairo version.



commit 6c0bf5ed3a2573a3a190bb60801a9d94dc37a5c0
Author: Bruno Coudoin <bruno coudoin free fr>
Date:   Sat Oct 31 23:38:49 2009 +0100

    Fixed to compile on Ubuntu 9.10 with the new pycairo version.

 src/boards/goocanvasmodule.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/boards/goocanvasmodule.c b/src/boards/goocanvasmodule.c
index 2e52fba..95a75a8 100644
--- a/src/boards/goocanvasmodule.c
+++ b/src/boards/goocanvasmodule.c
@@ -35,7 +35,7 @@ _cairo_matrix_to_gvalue(GValue *value, PyObject *obj)
 static PyObject *
 _cairo_pattern_from_gvalue(const GValue *value)
 {
-    return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)));
+    return PycairoPattern_FromPattern(cairo_pattern_reference((cairo_pattern_t *) g_value_get_boxed(value)), NULL);
 }
 
 static int



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