Re: row-changed handler treepath lifespan



muppet wrote:
If i could change this without breaking lots of code, i'd rework the
bindings for GtkTreePath not to be a normal opaque boxed wrapper, but
actually return to perl the string representation of that path, and
create a GtkTreePath from the string on demand in the bindings.  That
would let you just give indices to the TreeModel API, which is what you
really want to do anyway.

We can implement a custom boxed wrapper that accepts strings and arrays of
indices in addition to the normal opaque reference.  This shouldn't break any
existing code.  Filed as <http://bugzilla.gnome.org/show_bug.cgi?id=551115>.

-Torsten



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]