summaryrefslogtreecommitdiff
path: root/x11/gnome-flashback/files/patch-gnome-flashback_libdesktop_gf-trash-icon.c
blob: 4463f5602b9f8b48189573c22c0344c181b02904 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- gnome-flashback/libdesktop/gf-trash-icon.c.orig	2021-11-02 10:13:49 UTC
+++ gnome-flashback/libdesktop/gf-trash-icon.c
@@ -179,10 +179,10 @@ gf_trash_icon_create_file_monitor (GfIcon *icon)
   g_clear_object (&self->monitor);
 
   error = NULL;
-  self->monitor = g_file_monitor_directory (gf_icon_get_file (GF_ICON (self)),
-                                            G_FILE_MONITOR_WATCH_MOVES,
-                                            self->cancellable,
-                                            &error);
+  self->monitor = g_file_monitor (gf_icon_get_file (GF_ICON (self)),
+                                  G_FILE_MONITOR_NONE,
+                                  self->cancellable,
+                                  &error);
 
   if (error != NULL)
     {