GNOME Bugzilla – Bug 755355
Move GStrv to glib.h so it can be used with g_auto()
Last modified: 2015-09-22 15:19:02 UTC
.
Created attachment 311762 [details] [review] Move GStrv typedef to glib.h instead of gobject.h GStrv was historically only needed for the boxed G_TYPE_STRV, but it is now useful for g_auto(GStrv) as well. This is not an ABI change.
Review of attachment 311762 [details] [review]: Looks good. Thanks for the bonus test :) ::: docs/reference/glib/glib-sections.txt @@ +1444,2 @@ <SUBSECTION> +GStrv can you find somewhere more useful to put this? maybe move it down to above the g_strv_length/contains and split the three of them off into their own <SUBSECTION> ?
Created attachment 311766 [details] [review] Move GStrv typedef to glib.h instead of gobject.h GStrv was historically only needed for the boxed G_TYPE_STRV, but it is now useful for g_auto(GStrv) as well. This is not an ABI change.
SUBSECTION doesn't have any impact anymore since the new gtkdoc style AFAIK. But I agree they belong together.
Review of attachment 311766 [details] [review]: looks good now. thanks.
Attachment 311766 [details] pushed as b81f3ce - Move GStrv typedef to glib.h instead of gobject.h