mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-13 15:56:23 +01:00
gfile: Be clear about freeing GFile objects
This commit is contained in:
parent
f992c240e8
commit
6d05f684eb
@ -5856,6 +5856,7 @@ g_file_real_copy_finish (GFile *file,
|
||||
* operation if @path is malformed.
|
||||
*
|
||||
* Returns: (transfer full): a new #GFile for the given @path.
|
||||
* Free the returned object with g_object_unref().
|
||||
**/
|
||||
GFile *
|
||||
g_file_new_for_path (const char *path)
|
||||
@ -5874,7 +5875,8 @@ g_file_new_for_path (const char *path)
|
||||
* operation if @uri is malformed or if the uri type is
|
||||
* not supported.
|
||||
*
|
||||
* Returns: (transfer full): a #GFile for the given @uri.
|
||||
* Returns: (transfer full): a new #GFile for the given @uri.
|
||||
* Free the returned object with g_object_unref().
|
||||
**/
|
||||
GFile *
|
||||
g_file_new_for_uri (const char *uri)
|
||||
@ -5939,6 +5941,7 @@ has_valid_scheme (const char *uri)
|
||||
* I/O operation if @arg points to a malformed path.
|
||||
*
|
||||
* Returns: (transfer full): a new #GFile.
|
||||
* Free the returned object with g_object_unref().
|
||||
**/
|
||||
GFile *
|
||||
g_file_new_for_commandline_arg (const char *arg)
|
||||
|
Loading…
Reference in New Issue
Block a user