From c014e5f8deecbb85966d99fb3aa46d10c674c322 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Sun, 30 Dec 2007 05:30:42 +0000 Subject: [PATCH] More doc updates svn path=/trunk/; revision=6213 --- gio/ChangeLog | 2 ++ gio/gloadableicon.h | 4 +++- gio/gunixmounts.c | 16 ++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) diff --git a/gio/ChangeLog b/gio/ChangeLog index 963b1a4d3..2a7bc0713 100644 --- a/gio/ChangeLog +++ b/gio/ChangeLog @@ -1,5 +1,7 @@ 2007-12-30 Matthias Clasen + * gloadableicon.h: + * gunixmounts.c: * gmount.h: * gdesktopappinfo.c: * gvolumemonitor.c: diff --git a/gio/gloadableicon.h b/gio/gloadableicon.h index 3854259d9..3973f74df 100644 --- a/gio/gloadableicon.h +++ b/gio/gloadableicon.h @@ -41,7 +41,8 @@ G_BEGIN_DECLS /** * GLoadableIcon: * - * Generic interface for all kinds of icons that can be loaded as a stream to an image file. + * Generic type for all kinds of icons that can be loaded + * as a stream. **/ typedef struct _GLoadableIcon GLoadableIcon; /* Dummy typedef */ typedef struct _GLoadableIconIface GLoadableIconIface; @@ -53,6 +54,7 @@ typedef struct _GLoadableIconIface GLoadableIconIface; * @load_async: Loads an icon asynchronously. * @load_finish: Finishes an asynchronous icon load. * + * Interface for icons that can be loaded as a stream. **/ struct _GLoadableIconIface { diff --git a/gio/gunixmounts.c b/gio/gunixmounts.c index b9a6f9699..56da638c3 100644 --- a/gio/gunixmounts.c +++ b/gio/gunixmounts.c @@ -1808,6 +1808,14 @@ g_unix_mount_point_guess_icon (GUnixMountPoint *mount_point) return g_themed_icon_new (type_to_icon (g_unix_mount_point_guess_type (mount_point), TRUE)); } +/** + * g_unix_mount_guess_can_eject: + * @mount_entry: a #GUnixMountEntry + * + * Guesses whether a Unix mount can be ejected. + * + * Returns: %TRUE if @mount_entry is deemed to be ejectable. + */ gboolean g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry) { @@ -1821,6 +1829,14 @@ g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry) return FALSE; } +/** + * g_unix_mount_point_guess_can_eject: + * @mount_point: a #GUnixMountPoint + * + * Guesses whether a Unix mount point can be ejected. + * + * Returns: %TRUE if @mount_point is deemed to be ejectable. + */ gboolean g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point) {