[cairo-commit] 2 commits - test/api-special-cases.c test/Makefile.am

Andrea Canciani ranma42 at kemper.freedesktop.org
Thu Mar 17 08:50:18 PDT 2011


 test/Makefile.am         |    2 ++
 test/api-special-cases.c |    2 ++
 2 files changed, 4 insertions(+)

New commits:
commit 2b84d82bcfb6c89ececfdfe4f4e10bb631050131
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Wed Mar 16 17:04:10 2011 +0100

    test: Silence gcc
    
    api-special-cases.c:94:1: warning: "Cursor" redefined
    api-special-cases.c:81:1: warning: this is the location of the previous definition

diff --git a/test/api-special-cases.c b/test/api-special-cases.c
index 95a0a7c..6e51fe6 100644
--- a/test/api-special-cases.c
+++ b/test/api-special-cases.c
@@ -80,6 +80,7 @@
 #if CAIRO_HAS_QUARTZ_SURFACE
 #define Cursor QuartzCursor
 #include <cairo-quartz.h>
+#undef Cursor
 #endif
 #if CAIRO_HAS_SVG_SURFACE
 #include <cairo-svg.h>
@@ -93,6 +94,7 @@
 #if CAIRO_HAS_XLIB_SURFACE
 #define Cursor XCursor
 #include <cairo-xlib.h>
+#undef Cursor
 #endif
 
 #define ARRAY_LENGTH(array) (sizeof (array) / sizeof ((array)[0]))
commit e45077612d789eaf77fea727135d4b4bdb6c90f2
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Thu Mar 17 16:38:51 2011 +0100

    test: Fix missing REFERENCE_IMAGES

diff --git a/test/Makefile.am b/test/Makefile.am
index 21bfe0f..8a62c13 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -787,11 +787,13 @@ REFERENCE_IMAGES = \
 	leaky-polygon.image16.ref.png \
 	leaky-polygon.ref.png \
 	leaky-polygon.ps.ref.png \
+	line-width-overlap.ref.png \
 	line-width-scale.image16.ref.png \
 	line-width-scale.ps2.ref.png \
 	line-width-scale.ps3.ref.png \
 	line-width-scale.quartz.ref.png \
 	line-width-scale.ref.png \
+	line-width-tolerance.ref.png \
 	line-width.ref.png \
 	linear-gradient-extend.ref.png \
 	linear-gradient-reflect.image16.ref.png \


More information about the cairo-commit mailing list