[cairo] FIX: config.h

John Ellson ellson at research.att.com
Mon May 9 10:17:15 PDT 2005


There is a bug in the macro that deprecates cairo_current_target_surface
The replacement function cairo_get_target_surface doesn't exist.
I believe it should be cairo_get_target  instead ?

John


ellson at ontap:src> diff -u cairo.h.orig cairo.h
--- cairo.h.orig        2005-05-09 13:11:41.000000000 -0400
+++ cairo.h     2005-05-09 13:11:57.000000000 -0400
@@ -1132,7 +1132,7 @@
 #define cairo_current_line_join      
cairo_current_line_join_REPLACED_BY_cairo_get_line_join
 #define cairo_current_miter_limit    
cairo_current_miter_limit_REPLACED_BY_cairo_get_miter_limit
 #define cairo_current_matrix         
cairo_current_matrix_REPLACED_BY_cairo_get_matrix
-#define cairo_current_target_surface 
cairo_current_target_surface_REPLACED_BY_cairo_get_target_surface
+#define cairo_current_target_surface 
cairo_current_target_surface_REPLACED_BY_cairo_get_target
 #define cairo_get_status             
cairo_get_status_REPLACED_BY_cairo_status
 #define cairo_get_status_string             
cairo_get_status_string_REPLACED_BY_cairo_status_string
 #define cairo_concat_matrix             
cairo_concat_matrix_REPLACED_BY_cairo_transform




More information about the cairo mailing list