Forum: Ruby-Gnome 2 Missing callback : How to implement it

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
B985bf8029d396259f579c70f809269a?d=identicon&s=25 Simon Arnaud (sarnaud)
on 2015-11-24 17:05
Hi

I'm running some old code, 6 months old approximately, and I'm running
into a problem :

/[…]/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/gems/gobject-introspection-3.0.7/lib/gobject-introspection/loader.rb:551:in
`invoke': TODO: <TreeIterCompareFunc>(sort_func) callback is not
supported yet. (NotImplementedError)

I'm wondering : Is there a documentation on how to implement it ?

Here is the snippet :

$builder['users_treemodelsort'].set_default_sort_func do |i1, i2|
  i1[1] <=> i2[1] || 0
end

EDIT

I found after posting :
https://github.com/ruby-gnome2/ruby-gnome2/issues/596

I will try on 3.0.8. Hope it gets released soon.
This topic is locked and can not be replied to.