[tracker] tracker-miner-fs: Hook name acquired handler properly



commit e9b3a3f51a9177b5e532a97b3195e3796b24f921
Author: Carlos Garnacho <carlosg gnome org>
Date:   Fri Dec 16 12:43:34 2016 +0100

    tracker-miner-fs: Hook name acquired handler properly
    
    In the right circumstances it might cause tracker-miner-fs to
    miss tracker-extract disappearing the first time, which might
    lead to it not being re-activated as expected.

 src/miners/fs/tracker-extract-watchdog.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/miners/fs/tracker-extract-watchdog.c b/src/miners/fs/tracker-extract-watchdog.c
index fd0b88f..4c8acdd 100644
--- a/src/miners/fs/tracker-extract-watchdog.c
+++ b/src/miners/fs/tracker-extract-watchdog.c
@@ -116,7 +116,8 @@ extract_watchdog_start (TrackerExtractWatchdog *watchdog,
                                  (autostart ?
                                   G_BUS_NAME_WATCHER_FLAGS_AUTO_START :
                                   G_BUS_NAME_WATCHER_FLAGS_NONE),
-                                 NULL, extract_watchdog_name_vanished,
+                                 extract_watchdog_name_appeared,
+                                 extract_watchdog_name_vanished,
                                  watchdog, NULL);
 }
 


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