gio: fix GFile doc indentation and nullable annotations

Add missing (nullable), and use 2-space indentation to avoid markdown
pre-formatted blocks when unwanted.

Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
This commit is contained in:
Marc-André Lureau 2021-10-25 15:24:15 +04:00 committed by Philip Withnall
parent 3a6e8bc887
commit b26855579c

View File

@ -989,7 +989,7 @@ g_file_get_relative_path (GFile *parent,
* If the @relative_path is an absolute path name, the resolution
* is done absolutely (without taking @file path as base).
*
* Returns: (transfer full): #GFile to the resolved path.
* Returns: (transfer full) (nullable): #GFile to the resolved path.
* %NULL if @relative_path is %NULL or if @file is invalid.
* Free the returned object with g_object_unref().
*/
@ -4429,7 +4429,7 @@ g_file_set_display_name_finish (GFile *file,
* triggering the cancellable object from another thread. If the operation
* was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
*
* Returns: a #GFileAttributeInfoList describing the settable attributes.
* Returns: (transfer full): a #GFileAttributeInfoList describing the settable attributes.
* When you are done with it, release it with
* g_file_attribute_info_list_unref()
*/
@ -4484,7 +4484,7 @@ g_file_query_settable_attributes (GFile *file,
* triggering the cancellable object from another thread. If the operation
* was cancelled, the error %G_IO_ERROR_CANCELLED will be returned.
*
* Returns: a #GFileAttributeInfoList describing the writable namespaces.
* Returns: (transfer full): a #GFileAttributeInfoList describing the writable namespaces.
* When you are done with it, release it with
* g_file_attribute_info_list_unref()
*/