[cairo-commit] goocanvas/demo demo-events.c,1.1,1.2
Damon Chaplin
commit at pdx.freedesktop.org
Fri Apr 14 05:49:12 PDT 2006
Committed by: damon
Update of /cvs/cairo/goocanvas/demo
In directory kemper:/tmp/cvs-serv25336/demo
Modified Files:
demo-events.c
Log Message:
2006-04-14 Damon Chaplin <damon at gnome.org>
* src/goocanvasutils.h: renamed goo_cairo_dash* to goo_canvas_dash*
for consistency.
* src/goocanvasprivate.h: new header to contain private declarations
that we don't install.
* src/*.[hc]: documented enums & structs on the types page.
Index: demo-events.c
===================================================================
RCS file: /cvs/cairo/goocanvas/demo/demo-events.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- demo-events.c 12 Apr 2006 10:45:52 -0000 1.1
+++ demo-events.c 14 Apr 2006 12:49:10 -0000 1.2
@@ -47,11 +47,11 @@
gdouble x = col * 200, y = row * 150;
GooCanvasItem *root, *rect;
char *view_id;
- GooCairoLineDash *dash;
+ GooCanvasLineDash *dash;
root = goo_canvas_model_get_root_item (GOO_CANVAS_MODEL (canvas_model));
- dash = goo_cairo_line_dash_new (2, 5.0, 5.0);
+ dash = goo_canvas_line_dash_new (2, 5.0, 5.0);
/* Create invisible item. */
rect = goo_canvas_rect_new (root, x + 45, y + 35, 30, 30,
@@ -122,7 +122,7 @@
"fill-color", "blue",
NULL);
- goo_cairo_line_dash_unref (dash);
+ goo_canvas_line_dash_unref (dash);
}
More information about the cairo-commit
mailing list