GNOME Bugzilla – Bug 737936
Freebase: Add GType for GDataFreebaseSearchResultItem
Last modified: 2014-12-23 10:19:34 UTC
Even though the usage pattern of GDataFreebaseSearchResultItem (with its lifetime attached to the GDataFreebaseSearchResult object) doesn't require much knowledge about it's memory management details, bindings have a hard time knowing how to deal with a const/opaque struct pointer (most notably gjs). I suggest to just wrap it in a boxed type to make bindings happy, we don't even need to expose copy/free in the C API, plus it's not so useful there.
Created attachment 287772 [details] [review] freebase: Add GType for GDataFreebaseSearchResultItem Making it a boxed type makes it friendly to bindings, as there's some more embedded knowledge about how to deal with this type memory-wise.
Review of attachment 287772 [details] [review]: Looks good. Does gdata-sections.txt in gtk-doc boilerplate need updating to ignore the new *_get_type() function?
Attachment 287772 [details] pushed as 2a939fd - freebase: Add GType for GDataFreebaseSearchResultItem