gio: Add filename type annotations

https://bugzilla.gnome.org/show_bug.cgi?id=767245
This commit is contained in:
Christoph Reiter
2016-06-04 17:53:42 +02:00
committed by Christoph Reiter
parent 41013a01f4
commit f8189ddf98
13 changed files with 76 additions and 62 deletions

View File

@@ -196,7 +196,7 @@ is_in (const char *value, const char *set[])
/**
* g_unix_is_mount_path_system_internal:
* @mount_path: a mount path, e.g. `/media/disk` or `/usr`
* @mount_path: (type filename): a mount path, e.g. `/media/disk` or `/usr`
*
* Determines if @mount_path is considered an implementation of the
* OS. This is primarily used for hiding mountable and mounted volumes
@@ -1657,7 +1657,7 @@ g_unix_mount_compare (GUnixMountEntry *mount1,
*
* Gets the mount path for a unix mount.
*
* Returns: the mount path for @mount_entry.
* Returns: (type filename): the mount path for @mount_entry.
*/
const gchar *
g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry)
@@ -1673,7 +1673,7 @@ g_unix_mount_get_mount_path (GUnixMountEntry *mount_entry)
*
* Gets the device path for a unix mount.
*
* Returns: a string containing the device path.
* Returns: (type filename): a string containing the device path.
*/
const gchar *
g_unix_mount_get_device_path (GUnixMountEntry *mount_entry)
@@ -1787,7 +1787,7 @@ g_unix_mount_point_compare (GUnixMountPoint *mount1,
*
* Gets the mount path for a unix mount point.
*
* Returns: a string containing the mount path.
* Returns: (type filename): a string containing the mount path.
*/
const gchar *
g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point)
@@ -1803,7 +1803,7 @@ g_unix_mount_point_get_mount_path (GUnixMountPoint *mount_point)
*
* Gets the device path for a unix mount point.
*
* Returns: a string containing the device path.
* Returns: (type filename): a string containing the device path.
*/
const gchar *
g_unix_mount_point_get_device_path (GUnixMountPoint *mount_point)