GNOME Bugzilla – Bug 588083
[PATCH] Information about return value of some AtkText methods can be clearer
Last modified: 2011-06-02 18:43:53 UTC
In all the following methods: atk_text_get_text atk_text_get_text_after_offset atk_text_get_text_at_offset atk_text_get_text_before_offset atk_text_get_selection the documentation says they return a string (gchar *). Although you can extrapolate that this is a newly created string as it returns a gchar*, but not a const gchar*, I think that it should be good to explicitly mention it on the documentation, as it can be confusing at a first sight. I will add a proposal patch in the next comment.
Created attachment 138039 [details] [review] Add extra documentation Add extra documentation related to the return value on some atktext methods
Patch committed. Closing bug.