GNOME Bugzilla – Bug 622951
Add override for TreeModelSort
Last modified: 2010-06-28 21:01:23 UTC
Patch coming to add an override for TreeModelSort to improve the behaviour of TreeModelSort.convert_child_iter_to_iter(). Test case included, but as bug bug #622882 I can't run the test suite, so I'm not sure if the test case works properly. The overridden function itself works fine in a Totem plugin.
Created attachment 164751 [details] [review] Add override for TreeModelSort
Review of attachment 164751 [details] [review]: ::: gi/overrides/Gtk.py @@ +428,3 @@ + sort_iter = Gtk.TreeIter() + + if (Gtk.TreeModelSort.convert_child_iter_to_iter(self, sort_iter, child_iter)): why the surrounding "()"? it is python :) Apart from that patch looks ok to me
This override is not needed. The fix is to annotate API that takes user allocated treeiters with (out) in GTK+.
Ah, that's a much tidier solution, thanks. Filed as bug #623068 against GTK+.