[cairo-commit] cairo/src cairo-png.c,1.8,1.9 cairo.h,1.102,1.103

Kristian Hogsberg commit at pdx.freedesktop.org
Mon Apr 25 21:36:41 PDT 2005


Committed by: krh

Update of /cvs/cairo/cairo/src
In directory gabe:/tmp/cvs-serv17068/src

Modified Files:
	cairo-png.c cairo.h 
Log Message:
2005-04-26  Kristian Høgsberg  <krh at redhat.com>

        * src/cairo-png.c (cairo_surface_write_to_png_stream): Renamed
        from cairo_surface_write_png_to_stream() for consistency.
        (cairo_surface_write_to_png): Renamed from
        cairo_surface_write_png() for consistency.



Index: cairo-png.c
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo-png.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- cairo-png.c	26 Apr 2005 03:42:54 -0000	1.8
+++ cairo-png.c	26 Apr 2005 04:36:39 -0000	1.9
@@ -185,7 +185,7 @@
 }
 
 /**
- * cairo_surface_write_png:
+ * cairo_surface_write_to_png:
  * @surface: a #cairo_surface_t with pixel contents
  * @file: a #FILE opened in write mode
  * 
@@ -199,7 +199,8 @@
  * pixel contents.
  **/
 cairo_status_t
-cairo_surface_write_png (cairo_surface_t *surface, const char *filename)
+cairo_surface_write_to_png (cairo_surface_t	*surface,
+			    const char		*filename)
 {
     FILE *fp;
     cairo_status_t status;
@@ -232,7 +233,7 @@
 }
 
 /**
- * cairo_surface_write_png_to_stream:
+ * cairo_surface_write_to_png_stream:
  * @surface: a #cairo_surface_t with pixel contents
  * @write_func: a #cairo_write_func_t
  * @closure: closure data for the write function
@@ -246,7 +247,7 @@
  * pixel contents.
  **/
 cairo_status_t
-cairo_surface_write_png_to_stream (cairo_surface_t	*surface,
+cairo_surface_write_to_png_stream (cairo_surface_t	*surface,
 				   cairo_write_func_t	write_func,
 				   void			*closure)
 {

Index: cairo.h
===================================================================
RCS file: /cvs/cairo/cairo/src/cairo.h,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- cairo.h	26 Apr 2005 03:42:54 -0000	1.102
+++ cairo.h	26 Apr 2005 04:36:39 -0000	1.103
@@ -929,11 +929,11 @@
 #ifdef CAIRO_HAS_PNG_FUNCTIONS
 
 cairo_status_t
-cairo_surface_write_png (cairo_surface_t	*surface,
-			 const char		*filename);
+cairo_surface_write_to_png (cairo_surface_t	*surface,
+			    const char		*filename);
 
 cairo_status_t
-cairo_surface_write_png_to_stream (cairo_surface_t	*surface,
+cairo_surface_write_to_png_stream (cairo_surface_t	*surface,
 				   cairo_write_func_t	write_func,
 				   void			*closure);
 




More information about the cairo-commit mailing list