[tracker] Adapt to new GKqueue monitor naming.
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Adapt to new GKqueue monitor naming.
- Date: Sun, 27 Mar 2016 13:45:32 +0000 (UTC)
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]