summaryrefslogtreecommitdiff
path: root/gio/gvfs.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2008-07-21 02:19:56 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2008-07-21 02:19:56 +0000
commit3bdbb2b329328eee3e0f3993612edb9a6f0fbfaa (patch)
tree78b980201fbd75c7409cf9ca38912a316bddaaa9 /gio/gvfs.c
parent85840c57b74974507578d921885d9dba48cd4616 (diff)
downloadglib-3bdbb2b329328eee3e0f3993612edb9a6f0fbfaa.tar.gz
glib-3bdbb2b329328eee3e0f3993612edb9a6f0fbfaa.tar.bz2
glib-3bdbb2b329328eee3e0f3993612edb9a6f0fbfaa.zip
Doc fixes
svn path=/trunk/; revision=7223
Diffstat (limited to 'gio/gvfs.c')
-rw-r--r--gio/gvfs.c16
1 files changed, 10 insertions, 6 deletions
diff --git a/gio/gvfs.c b/gio/gvfs.c
index 3158d3dde..df59c62d5 100644
--- a/gio/gvfs.c
+++ b/gio/gvfs.c
@@ -78,7 +78,8 @@ g_vfs_is_active (GVfs *vfs)
*
* Gets a #GFile for @path.
*
- * Returns: a #GFile.
+ * Returns: a #GFile.
+ * Free the returned object with g_object_unref().
**/
GFile *
g_vfs_get_file_for_path (GVfs *vfs,
@@ -97,16 +98,16 @@ g_vfs_get_file_for_path (GVfs *vfs,
/**
* g_vfs_get_file_for_uri:
* @vfs: a#GVfs.
- * @uri: a string containing a URI path.
+ * @uri: a string containing a URI
*
* Gets a #GFile for @uri.
*
* This operation never fails, but the returned object
- * might not support any I/O operation if the uri
- * is malformed or if the uri type is not supported.
+ * might not support any I/O operation if the URI
+ * is malformed or if the URI scheme is not supported.
*
* Returns: a #GFile.
- *
+ * Free the returned object with g_object_unref().
**/
GFile *
g_vfs_get_file_for_uri (GVfs *vfs,
@@ -128,7 +129,9 @@ g_vfs_get_file_for_uri (GVfs *vfs,
*
* Gets a list of URI schemes supported by @vfs.
*
- * Returns: a list of strings.
+ * Returns: a %NULL-terminated array of strings.
+ * The returned array belongs to GIO and must
+ * not be freed or modified.
**/
const gchar * const *
g_vfs_get_supported_uri_schemes (GVfs *vfs)
@@ -152,6 +155,7 @@ g_vfs_get_supported_uri_schemes (GVfs *vfs)
* be parsed by the #GVfs module.
*
* Returns: a #GFile for the given @parse_name.
+ * Free the returned object with g_object_unref().
**/
GFile *
g_vfs_parse_name (GVfs *vfs,