[glib] gio: Add missing (type filename) annotations
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] gio: Add missing (type filename) annotations
- Date: Wed, 15 Jun 2016 17:24:35 +0000 (UTC)
commit ac1166626c1cd753087fa81a780c39b20f259c71
Author: Philip Withnall <philip withnall collabora co uk>
Date: Wed Jun 15 11:03:31 2016 -0400
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 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gfile.c b/gio/gfile.c
index 6226e36..29c61f6 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.
*
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]