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
This commit is contained in:
Cosimo Cecchi 2012-04-13 16:06:16 -04:00
parent 6a9341d851
commit 1e2ca76464

View File

@ -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: