[glib/glib-2-34] Add annotations for g_filename_from_uri()
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib/glib-2-34] Add annotations for g_filename_from_uri()
- Date: Sat, 10 Nov 2012 03:31:56 +0000 (UTC)
commit f51231838b53f6d972a3d05ae4dc2ef862ddc4e5
Author: Vincent Untz <vuntz gnome org>
Date: Tue Mar 27 16:52:24 2012 +0200
Add annotations for g_filename_from_uri()
https://bugzilla.gnome.org/show_bug.cgi?id=672924
glib/gconvert.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/glib/gconvert.c b/glib/gconvert.c
index 15eb57a..755b33b 100644
--- a/glib/gconvert.c
+++ b/glib/gconvert.c
@@ -1835,7 +1835,7 @@ hostname_validate (const char *hostname)
/**
* g_filename_from_uri:
* @uri: a uri describing a filename (escaped, encoded in ASCII).
- * @hostname: (allow-none): Location to store hostname for the URI, or %NULL.
+ * @hostname: (out) (allow-none): Location to store hostname for the URI, or %NULL.
* If there is no hostname in the URI, %NULL will be
* stored in this location.
* @error: location to store the error occurring, or %NULL to ignore
@@ -1844,8 +1844,8 @@ hostname_validate (const char *hostname)
* Converts an escaped ASCII-encoded URI to a local filename in the
* encoding used for filenames.
*
- * Return value: a newly-allocated string holding the resulting
- * filename, or %NULL on an error.
+ * Return value: (type filename): a newly-allocated string holding
+ * the resulting filename, or %NULL on an error.
**/
gchar *
g_filename_from_uri (const gchar *uri,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]