GNOME Bugzilla – Bug 756011
Fix up annotations for GBookmarkFile
Last modified: 2018-01-08 18:27:07 UTC
- Array annotations for byte array data - Filename annotations for pathname values - Add (nullable) where missing - Fix a few odds and ends - Replace (allow-none)
Created attachment 312597 [details] [review] gbookmarkfile: fix up annotations
Created attachment 312642 [details] [review] Annotate g_bookmark_file_new() as a constructor
Review of attachment 312597 [details] [review]: Needs rebasing. ::: glib/gbookmarkfile.c @@ +1767,3 @@ * @bookmark: a #GBookmarkFile + * @file: (type filename): a relative path to a filename to open and parse + * @full_path: (out) (optional) (type filename): return location for a string Also needs (transfer full), I think.
Review of attachment 312642 [details] [review]: ++
Comment on attachment 312642 [details] [review] Annotate g_bookmark_file_new() as a constructor Attachment 312642 [details] pushed as 3ee5bb1 - Annotate g_bookmark_file_new() as a constructor
Created attachment 366397 [details] [review] gbookmarkfile: fix up annotations
Review of attachment 366397 [details] [review]: Thanks for the update. A few small issues. ::: glib/gbookmarkfile.c @@ +2223,3 @@ * @error is set to #G_BOOKMARK_FILE_ERROR_URI_NOT_FOUND. * + * Returns: (nullable): a newly allocated string or %NULL if the specified (nullable) is not correct here, as NULL is only returned on the error path. (nullable) is needed only if NULL may be returned on success. @@ +2305,3 @@ * @error is set to #G_BOOKMARK_FILE_ERROR_INVALID_VALUE. * + * Returns: (nullable): a newly allocated string or %NULL if the specified Same here.
Created attachment 366400 [details] [review] gbookmarkfile: fix up annotations
Review of attachment 366400 [details] [review]: Thanks.
Thank you. My commit access has been revoked due to inactivity, please push attachment #366400 [details].
Pushed to master, thanks. Attachment 366400 [details] pushed as ef65c16 - gbookmarkfile: fix up annotations