GNOME Bugzilla – Bug 307394
Docs for gst_tag_setter_get_list are inconsistent
Last modified: 2005-06-30 10:59:33 UTC
The docs for gst_tag_setter_get_list show G_CONST_RETURN for the returned tag list, but also say it is to be freed with gst_tag_list_free() after use. Those two statements conflict with eachother. Looking at the code: return gst_tag_setter_get_data (setter)->list; it seems to me that the list shouldn't be freed, but I'm not sure. In case this is correct, here's a patch that changes the docs and the prototype to reflect the situation.
Created attachment 47654 [details] [review] Patch for the docs
Applied to 0.8 and HEAD, thanks.