[cairo-commit] gtkcairo/tests demo.c,1.7,1.8

OEyvind Kolaas commit at pdx.freedesktop.org
Thu Nov 11 01:08:00 PST 2004


Committed by: pippin

Update of /cvs/cairo/gtkcairo/tests
In directory gabe:/tmp/cvs-serv28692a/tests

Modified Files:
	demo.c 
Log Message:
removed unused variable from demo

Index: demo.c
===================================================================
RCS file: /cvs/cairo/gtkcairo/tests/demo.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- demo.c	9 Aug 2004 16:32:41 -0000	1.7
+++ demo.c	11 Nov 2004 09:07:50 -0000	1.8
@@ -1,7 +1,7 @@
 /* vim: set ts=4 sw=4 et : */
 
 #include <gtk/gtk.h>
-#include <gtkcairo/gtkcairo.h>
+#include <gtkcairo.h>
 
 #define ANIMATE_ROTATE_STEP 0.05
 #define ANIMATE_FRAME_DELAY 40
@@ -18,7 +18,7 @@
 {
     gint width  = widget->allocation.width;
     gint height = widget->allocation.height;
-    gint box_size = (width+height)/6, box_overlap = (width+height)/32;
+    gint box_size = (width+height)/6;
 
     cairo_save (cairo);
 




More information about the cairo-commit mailing list