diff options
author | monsta <[email protected]> | 2015-09-17 11:06:53 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2015-09-17 11:45:42 +0300 |
commit | b1e9a7fe429546105ffda8424cc5719a13e8a295 (patch) | |
tree | 1317fd81a22c0137b04aae648be79485036dcd1c /libcaja-private/caja-file.c | |
parent | d2dd87abc30e850bc18cd15b854e0246a22db880 (diff) | |
download | caja-b1e9a7fe429546105ffda8424cc5719a13e8a295.tar.bz2 caja-b1e9a7fe429546105ffda8424cc5719a13e8a295.tar.xz |
use standard defines for "trash::" attributes
Diffstat (limited to 'libcaja-private/caja-file.c')
-rw-r--r-- | libcaja-private/caja-file.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libcaja-private/caja-file.c b/libcaja-private/caja-file.c index 2e3ad466..67b3328a 100644 --- a/libcaja-private/caja-file.c +++ b/libcaja-private/caja-file.c @@ -2459,7 +2459,7 @@ update_info_internal (CajaFile *file, } trash_time = 0; - time_string = g_file_info_get_attribute_string (info, "trash::deletion-date"); + time_string = g_file_info_get_attribute_string (info, G_FILE_ATTRIBUTE_TRASH_DELETION_DATE); if (time_string != NULL) { g_time_val_from_iso8601 (time_string, &g_trash_time); trash_time = g_trash_time.tv_sec; @@ -2469,7 +2469,7 @@ update_info_internal (CajaFile *file, file->details->trash_time = trash_time; } - trash_orig_path = g_file_info_get_attribute_byte_string (info, "trash::orig-path"); + trash_orig_path = g_file_info_get_attribute_byte_string (info, G_FILE_ATTRIBUTE_TRASH_ORIG_PATH); if (eel_strcmp (file->details->trash_orig_path, trash_orig_path) != 0) { changed = TRUE; g_free (file->details->trash_orig_path); |