GNOME Bugzilla – Bug 770421
incorrect (out) annotation for gtk_text_iter_get_attributes
Last modified: 2018-05-02 17:26:56 UTC
The argument @values of gtk_text_iter_get_attributes has an (out) annotation but I believe that it should be (in). The gtk-doc comment says that @values is modified by the function, i.e. not entirely written. The (out) annotation will cause certain language bindings to provide no means to pass a value in for @values.
Sounds like (out caller-allocates) which still makes it unusable from most language bindings.
Created attachment 334195 [details] [review] Fix annotation for gtk_text_iter_get_attributes
Given one level of indirection in the @values argument, I agree that the only valid (out) interpretation would be as an (out caller-allocates). That probably explains why it hasn't been picked up.
Review of attachment 334195 [details] [review]: lgtm, for what it's worth
-- GitLab Migration Automatic Message -- This bug has been migrated to GNOME's GitLab instance and has been closed from further activity. You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gtk/issues/662.