[cairo-commit] cairo-demo/cairo_snippets ChangeLog, 1.38, 1.39 cairo_snippets_png.c, 1.11, 1.12

Oeyvind Kolaas commit at pdx.freedesktop.org
Fri May 13 15:36:21 PDT 2005


Committed by: pippin

Update of /cvs/cairo/cairo-demo/cairo_snippets
In directory gabe:/tmp/cvs-serv9295

Modified Files:
	ChangeLog cairo_snippets_png.c 
Log Message:
reordered cr and surface destruction calls.

Index: ChangeLog
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/ChangeLog,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -d -r1.38 -r1.39
--- ChangeLog	13 May 2005 16:33:59 -0000	1.38
+++ ChangeLog	13 May 2005 22:36:19 -0000	1.39
@@ -1,3 +1,7 @@
+2005-05-14  Øyvind Kolås  <pippin at freedesktop.org>
+
+	* cairo_snippets_png.c: reordered surface and cr destruction calls.
+
 2005-05-13  Kristian Høgsberg  <krh at redhat.com>
 
 	* cairo_snippets_pdf.c (main): Use new PDF constructor.

Index: cairo_snippets_png.c
===================================================================
RCS file: /cvs/cairo/cairo-demo/cairo_snippets/cairo_snippets_png.c,v
retrieving revision 1.11
retrieving revision 1.12
diff -u -d -r1.11 -r1.12
--- cairo_snippets_png.c	12 May 2005 09:49:20 -0000	1.11
+++ cairo_snippets_png.c	13 May 2005 22:36:19 -0000	1.12
@@ -54,6 +54,6 @@
 
         fprintf (stdout, "\n");
 
-	cairo_surface_destroy (surface);
         cairo_destroy (cr);
+	cairo_surface_destroy (surface);
 }




More information about the cairo-commit mailing list