# HG changeset patch # User Thinker K.F. Li # Date 1249182037 -28800 # Node ID 38aae921243ffc74381cb2354df09e791d320131 # Parent 2437047b8bb81dd3ed379236a45f9d7c8cd9f33b Redefine cairo_text_path for unit testing diff -r 2437047b8bb8 -r 38aae921243f src/shape_stext.c --- a/src/shape_stext.c Sun Aug 02 10:59:59 2009 +0800 +++ b/src/shape_stext.c Sun Aug 02 11:00:37 2009 +0800 @@ -64,6 +64,7 @@ #undef cairo_scaled_font_destroy #define cairo_scaled_font_destroy(scaled) \ if(scaled != NULL) cairo_scaled_font_destroy(scaled) +#define cairo_text_path(cr, buf) #endif /* UNITTEST */