* gtk/TreeView.custom: added TreeView Handle as argument

to set_model in Model property

svn path=/trunk/gtk-sharp/; revision=7985
This commit is contained in:
Vladimir Vukicevic 2002-10-04 16:38:47 +00:00
parent c9933656d5
commit ec91241afa
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2002-10-02 Vladimir Vukicevic <vladimir@pobox.com>
* gtk/TreeView.custom: added TreeView Handle as argument
to set_model in Model property
2002-09-29 Rachel Hestilow <hestilow@ximian.com>
* glue/canvas-proxy.c (update), glue/canvas-proxy-marshal.list:
@ -34,7 +39,7 @@
* sample/Scribble.cs: Added missing casts from EventMask to int.
2002-09-15 Ricardo Fernández Pascual <ric@users.sourceforge.net>
2002-09-15 Ricardo Fernandez Pascual <ric@users.sourceforge.net>
* glade/XML.custom: Added a constructor to read the glade file
from a stream and to read it from a resource in an assembly.
@ -42,7 +47,7 @@
* sample/GladeTest.cs: Embed the glade file as a resource and use
the new constructor.
2002-09-13 Ricardo Fernández Pascual <ric@users.sourceforge.net>
2002-09-13 Ricardo Fernandez Pascual <ric@users.sourceforge.net>
* glade/HandlerNotFoundExeception.cs: Added.
* glade/Makefile.in

View File

@ -11,7 +11,7 @@
static extern IntPtr gtk_tree_view_get_model (IntPtr raw);
[DllImport("gtk-x11-2.0")]
static extern IntPtr gtk_tree_view_set_model (IntPtr raw);
static extern IntPtr gtk_tree_view_set_model (IntPtr raw, IntPtr raw_model);
/// <summary>Model Property</summary>
/// <remarks>Gets the model being displayed by the TreeView
@ -24,6 +24,6 @@
}
set {
gtk_tree_view_set_model (value.Handle);
gtk_tree_view_set_model (Handle, value.Handle);
}
}