mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-03-14 19:55:12 +01:00
Merge branch 'symlink-target-filename' into 'main'
gfileinfo: add (type filename) annotation to symlink_target functions See merge request GNOME/glib!3455
This commit is contained in:
commit
2d6073fae2
@ -2004,7 +2004,7 @@ g_file_info_get_creation_date_time (GFileInfo *info)
|
||||
* It is an error to call this if the #GFileInfo does not contain
|
||||
* %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET.
|
||||
*
|
||||
* Returns: (nullable): a string containing the symlink target.
|
||||
* Returns: (type filename) (nullable): a string containing the symlink target.
|
||||
**/
|
||||
const char *
|
||||
g_file_info_get_symlink_target (GFileInfo *info)
|
||||
@ -2492,7 +2492,7 @@ g_file_info_set_creation_date_time (GFileInfo *info,
|
||||
/**
|
||||
* g_file_info_set_symlink_target:
|
||||
* @info: a #GFileInfo.
|
||||
* @symlink_target: a static string containing a path to a symlink target.
|
||||
* @symlink_target: (type filename): a static string containing a path to a symlink target.
|
||||
*
|
||||
* Sets the %G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET attribute in the file info
|
||||
* to the given symlink target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user