[nautilus] bookmark-list: Use G_FILE_MONITOR_NONE flag
- From: Carlos Soriano <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] bookmark-list: Use G_FILE_MONITOR_NONE flag
- Date: Fri, 30 Nov 2018 16:40:58 +0000 (UTC)
commit 46000db0bf6199c6f0db2475686ca563228ffaec
Author: Yi-Soo An <yisooan gmail com>
Date: Wed Nov 28 12:32:46 2018 +0900
bookmark-list: Use G_FILE_MONITOR_NONE flag
Using the enum makes developers understand it just by looking at it.
src/nautilus-bookmark-list.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
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",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]