summaryrefslogtreecommitdiff
path: root/src/nautilus-bookmark-list.c
diff options
context:
space:
mode:
authorYi-Soo An <yisooan@gmail.com>2018-11-28 12:32:46 +0900
committerYi-Soo An <yisooan@gmail.com>2018-11-30 12:06:26 +0900
commit46000db0bf6199c6f0db2475686ca563228ffaec (patch)
tree7ffa1bfda2345504f228b51258561ebc1af0d8bc /src/nautilus-bookmark-list.c
parentf4edaf79349910190a1e51a928ca6daa640863d1 (diff)
downloadnautilus-46000db0bf6199c6f0db2475686ca563228ffaec.tar.gz
bookmark-list: Use G_FILE_MONITOR_NONE flag
Using the enum makes developers understand it just by looking at it.
Diffstat (limited to 'src/nautilus-bookmark-list.c')
-rw-r--r--src/nautilus-bookmark-list.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-bookmark-list.c b/src/nautilus-bookmark-list.c
index bf0ed8de2..54d52626b 100644
--- a/src/nautilus-bookmark-list.c
+++ b/src/nautilus-bookmark-list.c
@@ -208,7 +208,7 @@ nautilus_bookmark_list_init (NautilusBookmarkList *bookmarks)
nautilus_bookmark_list_load_file (bookmarks);
file = nautilus_bookmark_list_get_file ();
- bookmarks->monitor = g_file_monitor_file (file, 0, NULL, NULL);
+ bookmarks->monitor = g_file_monitor_file (file, G_FILE_MONITOR_NONE, NULL, NULL);
g_file_monitor_set_rate_limit (bookmarks->monitor, 1000);
g_signal_connect (bookmarks->monitor, "changed",