[Gtk-sharp-list] Gtk.TreePath double free / TreeModelImplementor

David A Knight david at ritter.demon.co.uk
Sun May 4 07:04:57 EDT 2008

On Tue, 2008-03-04 at 21:17 +0000, David A Knight wrote:
> I have recently installed gtk-sharp from svn to play with
> Gtk.TreeModelImplementor and have hit a slightly annoying problem, not
> sure if it is my code at fault or a problem with gtk-sharp.
> I have a Gtk.TreeModelImplementor which works with a List<T> to provide
> a list view (seeing big memory savings where this works over a
> Gtk.ListStore).  This seems to work great in some cases but in one
> instance I have a constant problem with a double from of a Gtk.TreePath:
>   at (wrapper managed-to-native) Gtk.TreePath.gtk_tree_path_free
> (intptr) <0x0000b>
>   at (wrapper managed-to-native) Gtk.TreePath.gtk_tree_path_free
> (intptr) <0xffffffff>
>   at Gtk.TreePath.Free (intptr) [0x00000]

In case anyone else was wondering about this, my problem was I wasn't
setting Owned to false on my Gtk.TreePaths.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.ximian.com/pipermail/gtk-sharp-list/attachments/20080504/8ded4900/attachment.bin 

More information about the Gtk-sharp-list mailing list