[cairo-commit] goocanvas/demo demo-item.c,1.5,1.6
Damon Chaplin
commit at pdx.freedesktop.org
Tue Mar 6 05:21:32 PST 2007
Committed by: damon
Update of /cvs/cairo/goocanvas/demo
In directory kemper:/tmp/cvs-serv32206/demo
Modified Files:
demo-item.c
Log Message:
2007-03-06 Damon Chaplin <damon at gnome.org>
* */*: added 'const' to a number of arguments taking a cairo_matrix_t*
or a GooCanvasBounds*.
Index: demo-item.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/demo-item.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- demo-item.c 27 Feb 2007 01:01:38 -0000 1.5
+++ demo-item.c 6 Mar 2007 13:21:26 -0000 1.6
@@ -87,9 +87,9 @@
/* The paint method. This should draw the item on the given cairo_t, using
the item's own coordinate space. */
static void
-goo_demo_item_paint (GooCanvasItemSimple *simple,
- cairo_t *cr,
- GooCanvasBounds *bounds)
+goo_demo_item_paint (GooCanvasItemSimple *simple,
+ cairo_t *cr,
+ const GooCanvasBounds *bounds)
{
GooDemoItem *demo_item = (GooDemoItem*) simple;
More information about the cairo-commit
mailing list