mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 05:56:14 +01:00
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:
parent
3a6e8bc887
commit
b26855579c
@ -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()
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user