[glib] Correct some documentation mistakes in gunixmounts.c
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [glib] Correct some documentation mistakes in gunixmounts.c
- Date: Wed, 16 Jun 2010 01:59:52 +0000 (UTC)
commit 062148ae9a4176a28c055a6e3505f4e5c9ff6313
Author: Matthias Clasen <mclasen redhat com>
Date: Tue Jun 15 21:57:57 2010 -0400
Correct some documentation mistakes in gunixmounts.c
Pointed out by Ross Burton in bug #618904
gio/gunixmounts.c | 26 +++++++++++++-------------
1 files changed, 13 insertions(+), 13 deletions(-)
---
diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c
index e357e42..4c5ed6c 100644
--- a/gio/gunixmounts.c
+++ b/gio/gunixmounts.c
@@ -1076,14 +1076,14 @@ get_mount_points_timestamp (void)
/**
* g_unix_mounts_get:
- * @time_read: guint64 to contain a timestamp.
- *
- * Gets a #GList of strings containing the unix mounts.
- * If @time_read is set, it will be filled with the mount
- * timestamp, allowing for checking if the mounts have changed
+ * @time_read: (allow-none): guint64 to contain a timestamp, or %NULL
+ *
+ * Gets a #GList of #GUnixMountEntry containing the unix mounts.
+ * If @time_read is set, it will be filled with the mount
+ * timestamp, allowing for checking if the mounts have changed
* with g_unix_mounts_changed_since().
- *
- * Returns: a #GList of the UNIX mounts.
+ *
+ * Returns: a #GList of the UNIX mounts.
**/
GList *
g_unix_mounts_get (guint64 *time_read)
@@ -1131,14 +1131,14 @@ g_unix_mount_at (const char *mount_path,
/**
* g_unix_mount_points_get:
- * @time_read: guint64 to contain a timestamp.
- *
- * Gets a #GList of strings containing the unix mount points.
+ * @time_read: (allow-none): guint64 to contain a timestamp.
+ *
+ * Gets a #GList of #GUnixMountPoint containing the unix mount points.
* If @time_read is set, it will be filled with the mount timestamp,
- * allowing for checking if the mounts have changed with
+ * allowing for checking if the mounts have changed with
* g_unix_mounts_points_changed_since().
- *
- * Returns: a #GList of the UNIX mountpoints.
+ *
+ * Returns: a #GList of the UNIX mountpoints.
**/
GList *
g_unix_mount_points_get (guint64 *time_read)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]