[cairo-commit] cairo-5c/examples grid.5c,1.1,1.2

Keith Packard commit at pdx.freedesktop.org
Thu Dec 23 16:09:26 PST 2004


Committed by: keithp

Update of /cvs/cairo/cairo-5c/examples
In directory gabe:/tmp/cvs-serv30313/examples

Modified Files:
	grid.5c 
Log Message:
2004-12-23  Keith Packard  <keithp at keithp.com>

	* examples/grid.5c:
	Destroy context to flush file
	* gtk.c: (gtk_thread_main):
	call gdk_threads_leave on thread exit to release mutex


Index: grid.5c
===================================================================
RCS file: /cvs/cairo/cairo-5c/examples/grid.5c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- grid.5c	23 Dec 2004 22:39:40 -0000	1.1
+++ grid.5c	24 Dec 2004 00:09:24 -0000	1.2
@@ -47,7 +47,8 @@
 	  (grid_t) { min = 0.5 + x_minor//2, max = width + 0.5, space = x_minor },
 	  (grid_t) { min = 0.5 + y_minor//2, max = height + 0.5, space = y_minor },
 	  major / 20);
+    destroy (cr);
 }
 
 grid_png ("grid.png", 1000, 1000, 90, 18, 30);
-Debug::collect ();
+




More information about the cairo-commit mailing list