[glib/glib-2-22] Documentation fixes



commit d5f4e7c656f22927347a6da5a1d867d437996b5e
Author: Tomas Bzatek <tbzatek redhat com>
Date:   Tue Oct 13 16:22:16 2009 +0200

    Documentation fixes

 docs/reference/gio/gio-sections.txt |    1 +
 gio/gfileattribute.c                |    1 +
 gio/gfileinfo.h                     |    5 +++--
 3 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/docs/reference/gio/gio-sections.txt b/docs/reference/gio/gio-sections.txt
index c7915ef..31744f5 100644
--- a/docs/reference/gio/gio-sections.txt
+++ b/docs/reference/gio/gio-sections.txt
@@ -240,6 +240,7 @@ G_FILE_ATTRIBUTE_STANDARD_ICON
 G_FILE_ATTRIBUTE_STANDARD_CONTENT_TYPE
 G_FILE_ATTRIBUTE_STANDARD_FAST_CONTENT_TYPE
 G_FILE_ATTRIBUTE_STANDARD_SIZE
+G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE
 G_FILE_ATTRIBUTE_STANDARD_SYMLINK_TARGET
 G_FILE_ATTRIBUTE_STANDARD_TARGET_URI
 G_FILE_ATTRIBUTE_STANDARD_SORT_ORDER
diff --git a/gio/gfileattribute.c b/gio/gfileattribute.c
index 4fb6ffa..0aad1a7 100644
--- a/gio/gfileattribute.c
+++ b/gio/gfileattribute.c
@@ -165,6 +165,7 @@
  * <row><entry>%G_FILE_ATTRIBUTE_MOUNTABLE_CAN_UNMOUNT</entry><entry>mountable::can-unmount</entry><entry>boolean</entry></row>
  * <row><entry>%G_FILE_ATTRIBUTE_MOUNTABLE_CAN_EJECT</entry><entry>mountable::can-eject</entry><entry>boolean</entry></row>
  * <row><entry>%G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE</entry><entry>mountable::unix-device</entry><entry>uint32</entry></row>
+ * <row><entry>%G_FILE_ATTRIBUTE_MOUNTABLE_UNIX_DEVICE_FILE</entry><entry>mountable::unix-device-file</entry><entry>string</entry></row>
  * <row><entry>%G_FILE_ATTRIBUTE_MOUNTABLE_HAL_UDI</entry><entry>mountable::hal-udi</entry><entry>string</entry></row>
  * <row><entry>%G_FILE_ATTRIBUTE_TIME_MODIFIED</entry><entry>time::modified</entry><entry>uint64</entry></row>
  * <row><entry>%G_FILE_ATTRIBUTE_TIME_MODIFIED_USEC</entry><entry>time::modified-usec</entry><entry>uint32</entry></row>
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h
index 9ff5381..fd3ca51 100644
--- a/gio/gfileinfo.h
+++ b/gio/gfileinfo.h
@@ -192,14 +192,15 @@ typedef struct _GFileInfoClass   GFileInfoClass;
 #define G_FILE_ATTRIBUTE_STANDARD_SIZE "standard::size"                     /* uint64 */
 
 /**
- * G_FILE_ATTRIBUTE_ALLOCATED_SIZE:
+ * G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE:
  *
  * A key in the "standard" namespace for getting the amount of disk space
  * that is consumed by the file (in bytes).  This will generally be larger
  * than the file size (due to block size overhead) but can occasionally be
  * smaller (for example, for sparse files).
- *
  * Corresponding #GFileAttributeType is %G_FILE_ATTRIBUTE_TYPE_UINT64.
+ *
+ * Since: 2.20.
  **/
 #define G_FILE_ATTRIBUTE_STANDARD_ALLOCATED_SIZE "standard::allocated-size" /* uint64 */
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]