GNOME Bugzilla – Bug 711342
[overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth
Last modified: 2013-12-02 00:09:10 UTC
gtk_tree_path_get_indices is not introspectable and no longer available. Aliasing it to gtk_tree_path_get_indices_with_depth does the right thing.
Created attachment 258865 [details] [review] [overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth
get_indices_with_depth is annotated with rename-to: get_indices (which the prefered way to go about this as we want to get rid of overrides as much as possible). See: https://git.gnome.org/browse/gtk+/tree/gtk/gtktreemodel.c?id=3.11.0#n842 If you are seeing something else please let us know. Thanks.
Ok, but then it doesn't get renamed?
What versions of GTK+, GI and PyGObject are you using? You might need to update GI due to the "rename-to" annotation moving around recently. I'm having trouble finding the commit but you can note this comment: https://bugzilla.gnome.org/show_bug.cgi?id=659851#c7 I'm guessing this would be fixed if you update GI. But also seems to mean older version of GI are not forwards compatible with GTK+, so perhaps GTK+ needs a GI dependency bump? You might ask on #introspection or Dieter directly...
Ok, thanks for the info. I use jhbuild and just updated it so things should be at git master. I'll check again to see if I'm maybe not running the latest.
So I rechecked, and my gobject-introspection was on gnome-3.10 instead of master, I should know better. Sorry for the noise.
Changing to resolved as duplicate of needed version bump. *** This bug has been marked as a duplicate of bug 713044 ***