2002-08-06 Duncan Mak <duncan@ximian.com>

* glue/canvasitem.c:
	* gnome/CanvasItem.custom: Added accessor to get the 'canvas' field.

svn path=/trunk/gtk-sharp/; revision=6469
This commit is contained in:
Duncan Mak 2002-08-06 16:01:15 +00:00
parent bfb00c4e7a
commit cd25ace4ba
2 changed files with 19 additions and 0 deletions

View file

@ -1,5 +1,6 @@
2002-08-06 Duncan Mak <duncan@ximian.com>
* glue/canvasitem.c:
* gnome/CanvasItem.custom: Added accessor to get the 'canvas' field.
* sample/CanvasExample.cs: Removed extra methods.

18
glue/canvasitem.c Normal file
View file

@ -0,0 +1,18 @@
/* canvasitem.c : Glue for accessing fields in a GnomeCanvasItem
*
* Author: Duncan Mak (duncan@ximian.com)
*
* (C) Ximian, INc.
*/
#include <libgnomecanvas/gnome-canvas.h>
GnomeCanvas* gtksharp_gnome_canvas_item_get_canvas (GnomeCanvasItem *item);
GnomeCanvas*
gtksharp_gnome_canvas_item_get_canvas (GnomeCanvasItem *item)
{
return item->canvas;
}