GNOME Bugzilla – Bug 631659
Return value of gtk_tree_path_get_indices() is read-only.
Last modified: 2018-02-10 03:36:21 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.
Created attachment 171940 [details] [review] Patch which fixes the problem.
Review of attachment 171940 [details] [review]: This will cause warnings for application code that previously stored the indices in a gint*, right ?
Yup. But new warnings (eg: deprecations, new version of compiler) appear all the time, so that's not really a big deal.
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.