mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-05-31 18:00:06 +02:00
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:
parent
6a9341d851
commit
1e2ca76464
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user