After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 711342 - [overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth
[overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth
Status: RESOLVED DUPLICATE of bug 713044
Product: pygobject
Classification: Bindings
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
Depends on:
Blocks:
 
 
Reported: 2013-11-03 16:46 UTC by jessevdk@gmail.com
Modified: 2013-12-02 00:09 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
[overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth (812 bytes, patch)
2013-11-03 16:46 UTC, jessevdk@gmail.com
none Details | Review

Description jessevdk@gmail.com 2013-11-03 16:46:50 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.
Comment 1 jessevdk@gmail.com 2013-11-03 16:46:52 UTC
Created attachment 258865 [details] [review]
[overrides]: Alias Gtk.TreePath.get_indices to get_indices_with_depth
Comment 2 Simon Feltman 2013-11-03 20:55:21 UTC
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.
Comment 3 jessevdk@gmail.com 2013-11-05 20:41:27 UTC
Ok, but then it doesn't get renamed?
Comment 4 Simon Feltman 2013-11-05 22:46:07 UTC
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...
Comment 5 jessevdk@gmail.com 2013-11-06 10:28:05 UTC
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.
Comment 6 jessevdk@gmail.com 2013-11-06 10:43:23 UTC
So I rechecked, and my gobject-introspection was on gnome-3.10 instead of master, I should know better. Sorry for the noise.
Comment 7 Simon Feltman 2013-12-02 00:09:10 UTC
Changing to resolved as duplicate of needed version bump.

*** This bug has been marked as a duplicate of bug 713044 ***