* gtk/CanvasItem.custom: use base() to set Raw in constructor, so

that the ref counting semantics get correctly set up

svn path=/trunk/gtk-sharp/; revision=8978
This commit is contained in:
Vladimir Vukicevic 2002-11-14 01:44:23 +00:00
parent d1e99ecede
commit 79f298f823
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
2002-11-13 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/CanvasItem.custom: use base() to set Raw in constructor, so
that the ref counting semantics get correctly set up
2002-11-10 Gonzalo Paniagua Javier <gonzalo@ximian.com>
* glade/XML.custom: converted from Latin1 to UTF8 to make the generator

View file

@ -13,8 +13,8 @@
static extern System.IntPtr gnome_canvas_item_new (IntPtr group, int type, IntPtr null_terminator);
public CanvasItem (Gnome.CanvasGroup group, int type)
: base (gnome_canvas_item_new (group.Handle, type, IntPtr.Zero))
{
Raw = gnome_canvas_item_new (group.Handle, type, IntPtr.Zero);
}
[DllImport("gtksharpglue")]