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:
parent
bfb00c4e7a
commit
cd25ace4ba
2 changed files with 19 additions and 0 deletions
|
@ -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
18
glue/canvasitem.c
Normal 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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in a new issue