From c556a4d8f83787646eaa8ddfae7543e08027b566 Mon Sep 17 00:00:00 2001 From: Jason Francis Date: Wed, 31 May 2023 00:54:38 -0400 Subject: [PATCH] gfileinfo: add (type filename) annotation to symlink_target functions --- gio/gfileinfo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gfileinfo.c b/gio/gfileinfo.c index ca42add8e..3b34bd4d4 100644 --- a/gio/gfileinfo.c +++ b/gio/gfileinfo.c @@ -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.