[tracker] Adapt to new GKqueue monitor naming.



commit af3ce0bc6552923d6449a233b8887da1e2072411
Author: Antoine Jacoutot <ajacoutot gnome org>
Date:   Wed Oct 14 21:15:11 2015 +0200

    Adapt to new GKqueue monitor naming.

 src/libtracker-miner/tracker-monitor.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-monitor.c b/src/libtracker-miner/tracker-monitor.c
index a0fdba7..84d3614 100644
--- a/src/libtracker-miner/tracker-monitor.c
+++ b/src/libtracker-miner/tracker-monitor.c
@@ -304,7 +304,8 @@ tracker_monitor_init (TrackerMonitor *object)
                         */
                        priv->monitor_limit = MAX (priv->monitor_limit, 0);
                }
-               else if (strcmp (name, "GKqueueDirectoryMonitor") == 0) {
+               else if (strcmp (name, "GKqueueDirectoryMonitor") == 0 ||
+                        strcmp (name, "GKqueueFileMonitor") == 0) {
                        /* Using kqueue(2) */
                        g_message ("Monitor backend is kqueue");
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]