Mercurial > MadButterfly
changeset 447:38aae921243f
Redefine cairo_text_path for unit testing
author | Thinker K.F. Li <thinker@branda.to> |
---|---|
date | Sun, 02 Aug 2009 11:00:37 +0800 |
parents | 2437047b8bb8 |
children | 16116d84bc5e |
files | src/shape_stext.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- 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 */