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 631659 - Return value of gtk_tree_path_get_indices() is read-only.
Return value of gtk_tree_path_get_indices() is read-only.
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2010-10-08 03:09 UTC by Stef Walter
Modified: 2018-02-10 03:36 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch which fixes the problem. (12.89 KB, patch)
2010-10-08 03:10 UTC, Stef Walter
reviewed Details | Review

Description Stef Walter 2010-10-08 03:09:46 UTC
If the gint* internal array of GtkTreePath is an implementation detail and should not be modified outside of gtk+, then it should be marked as const.
Comment 1 Stef Walter 2010-10-08 03:10:05 UTC
Created attachment 171940 [details] [review]
Patch which fixes the problem.
Comment 2 Matthias Clasen 2012-07-11 03:37:55 UTC
Review of attachment 171940 [details] [review]:

This will cause warnings for application code that previously stored the indices in a gint*, right ?
Comment 3 Stef Walter 2012-07-11 05:03:34 UTC
Yup. But new warnings (eg: deprecations, new version of compiler) appear all the time, so that's not really a big deal.
Comment 4 Matthias Clasen 2018-02-10 03:36:21 UTC
We're moving to gitlab! As part of this move, we are closing bugs that haven't seen activity in more than 5 years. If this issue is still imporant to you and
still relevant with GTK+ 3.22 or master, please consider creating a gitlab issue
for it.