[glib] fileinfo: document the correct type for trash::orig-path



commit 1e2ca7646400f5f3a4464bbac3f50852dbf4e4cf
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Fri Apr 13 16:06:16 2012 -0400

    fileinfo: document the correct type for trash::orig-path
    
    The correct type for this attribute, as set by GVfs, is
    G_FILE_ATTRIBUTE_TYPE_BYTE_STRING (which is the correct type for file
    paths anyway).
    
    https://bugzilla.gnome.org/show_bug.cgi?id=674074

 gio/gfileinfo.h |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gio/gfileinfo.h b/gio/gfileinfo.h
index 375a078..3cc46d6 100644
--- a/gio/gfileinfo.h
+++ b/gio/gfileinfo.h
@@ -800,11 +800,11 @@ typedef struct _GFileInfoClass   GFileInfoClass;
  * A key in the "trash" namespace.  When requested against
  * items in "trash:///", will return the original path to the file before it
  * was trashed. Corresponding #GFileAttributeType is
- * %G_FILE_ATTRIBUTE_TYPE_STRING.
+ * %G_FILE_ATTRIBUTE_TYPE_BYTE_STRING.
  *
  * Since: 2.24.
  **/
-#define G_FILE_ATTRIBUTE_TRASH_ORIG_PATH "trash::orig-path"     /* string */
+#define G_FILE_ATTRIBUTE_TRASH_ORIG_PATH "trash::orig-path"     /* byte string */
 
 /**
  * G_FILE_ATTRIBUTE_TRASH_DELETION_DATE:



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