[gvfs] trash: Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT
- From: Ross Lagerwall <rossl src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gvfs] trash: Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT
- Date: Wed, 1 Oct 2014 06:42:26 +0000 (UTC)
commit 1f2d2952135a1304b0ed66da1d3d8f60f1e1c06e
Author: Ross Lagerwall <rosslagerwall gmail com>
Date: Sat Sep 27 12:08:48 2014 +0100
trash: Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT
Ignore G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT when to prevent generating
a spurious warning about unsupported operations on the trash dir.
https://bugzilla.gnome.org/show_bug.cgi?id=737473
daemon/trashlib/trashdir.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/daemon/trashlib/trashdir.c b/daemon/trashlib/trashdir.c
index dd110e3..897ccac 100644
--- a/daemon/trashlib/trashdir.c
+++ b/daemon/trashlib/trashdir.c
@@ -148,7 +148,8 @@ trash_dir_changed (GFileMonitor *monitor,
trash_root_remove_item (dir->root, file, dir->is_homedir);
else if (event_type == G_FILE_MONITOR_EVENT_PRE_UNMOUNT ||
- event_type == G_FILE_MONITOR_EVENT_UNMOUNTED)
+ event_type == G_FILE_MONITOR_EVENT_UNMOUNTED ||
+ event_type == G_FILE_MONITOR_EVENT_CHANGES_DONE_HINT)
;
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]