From ac1166626c1cd753087fa81a780c39b20f259c71 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Wed, 15 Jun 2016 11:03:31 -0400 Subject: [PATCH] gio: Add missing (type filename) annotations These differentiate between strings in the GLib filename encoding, and strings in UTF-8. https://bugzilla.gnome.org/show_bug.cgi?id=700756 --- gio/gfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gio/gfile.c b/gio/gfile.c index 6226e360c..29c61f6bd 100644 --- a/gio/gfile.c +++ b/gio/gfile.c @@ -751,7 +751,7 @@ g_file_has_parent (GFile *file, /** * g_file_get_child: * @file: input #GFile - * @name: string containing the child's basename + * @name: (type filename): string containing the child's basename * * Gets a child of @file with basename equal to @name. * @@ -886,7 +886,7 @@ g_file_get_relative_path (GFile *parent, /** * g_file_resolve_relative_path: * @file: input #GFile - * @relative_path: a given relative path string + * @relative_path: (type filename): a given relative path string * * Resolves a relative path for @file to an absolute path. *