From cd25ace4bae8d371c4e57b7f4b8efeab4437def1 Mon Sep 17 00:00:00 2001 From: Duncan Mak Date: Tue, 6 Aug 2002 16:01:15 +0000 Subject: [PATCH] 2002-08-06 Duncan Mak * glue/canvasitem.c: * gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. svn path=/trunk/gtk-sharp/; revision=6469 --- ChangeLog | 1 + glue/canvasitem.c | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 glue/canvasitem.c diff --git a/ChangeLog b/ChangeLog index 81d510f5b..60e2514b5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ 2002-08-06 Duncan Mak + * glue/canvasitem.c: * gnome/CanvasItem.custom: Added accessor to get the 'canvas' field. * sample/CanvasExample.cs: Removed extra methods. diff --git a/glue/canvasitem.c b/glue/canvasitem.c new file mode 100644 index 000000000..15abf8b67 --- /dev/null +++ b/glue/canvasitem.c @@ -0,0 +1,18 @@ +/* canvasitem.c : Glue for accessing fields in a GnomeCanvasItem + * + * Author: Duncan Mak (duncan@ximian.com) + * + * (C) Ximian, INc. + */ + +#include + +GnomeCanvas* gtksharp_gnome_canvas_item_get_canvas (GnomeCanvasItem *item); + +GnomeCanvas* +gtksharp_gnome_canvas_item_get_canvas (GnomeCanvasItem *item) +{ + return item->canvas; +} + +