From 103de1c0a236eaa7cc7a20986d32aa7739c4976c Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 10 Dec 2011 18:34:17 +0000 Subject: Make item draw method take a cairo_t instead of GdkDrawable. git-svn-id: http://svn.drobilla.net/lad/trunk/ganv@3856 a436a847-0d15-0410-975c-d299462d15a1 --- ganv/canvas-base.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ganv/canvas-base.h') diff --git a/ganv/canvas-base.h b/ganv/canvas-base.h index 38a2ffe..1b20325 100644 --- a/ganv/canvas-base.h +++ b/ganv/canvas-base.h @@ -136,7 +136,7 @@ struct _GanvItemClass { * coordinates of the drawable, a temporary pixmap, where things get * drawn. (width, height) are the dimensions of the drawable. */ - void (* draw)(GanvItem* item, GdkDrawable* drawable, + void (* draw)(GanvItem* item, cairo_t* cr, int x, int y, int width, int height); /* Calculate the distance from an item to the specified point. It also -- cgit v1.2.1