More doc updates

svn path=/trunk/; revision=6213
This commit is contained in:
Matthias Clasen 2007-12-30 05:30:42 +00:00
parent b0f4fcc272
commit c014e5f8de
3 changed files with 21 additions and 1 deletions

View File

@ -1,5 +1,7 @@
2007-12-30 Matthias Clasen <mclasen@redhat.com> 2007-12-30 Matthias Clasen <mclasen@redhat.com>
* gloadableicon.h:
* gunixmounts.c:
* gmount.h: * gmount.h:
* gdesktopappinfo.c: * gdesktopappinfo.c:
* gvolumemonitor.c: * gvolumemonitor.c:

View File

@ -41,7 +41,8 @@ G_BEGIN_DECLS
/** /**
* GLoadableIcon: * 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 _GLoadableIcon GLoadableIcon; /* Dummy typedef */
typedef struct _GLoadableIconIface GLoadableIconIface; typedef struct _GLoadableIconIface GLoadableIconIface;
@ -53,6 +54,7 @@ typedef struct _GLoadableIconIface GLoadableIconIface;
* @load_async: Loads an icon asynchronously. * @load_async: Loads an icon asynchronously.
* @load_finish: Finishes an asynchronous icon load. * @load_finish: Finishes an asynchronous icon load.
* *
* Interface for icons that can be loaded as a stream.
**/ **/
struct _GLoadableIconIface struct _GLoadableIconIface
{ {

View File

@ -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)); 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 gboolean
g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry) g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry)
{ {
@ -1821,6 +1829,14 @@ g_unix_mount_guess_can_eject (GUnixMountEntry *mount_entry)
return FALSE; 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 gboolean
g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point) g_unix_mount_point_guess_can_eject (GUnixMountPoint *mount_point)
{ {