[tracker/tracker-control-races-condition-fixes: 1/5] libtracker-miner: Honor auto_start parameter in tracker_miner_manager_new_full()
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-control-races-condition-fixes: 1/5] libtracker-miner: Honor auto_start parameter in tracker_miner_manager_new_full()
- Date: Thu, 2 Jun 2011 16:26:06 +0000 (UTC)
commit 174145e063c7125ddfc451a76cb68e94c45bdd8f
Author: Martyn Russell <martyn lanedo com>
Date: Thu Jun 2 16:52:37 2011 +0100
libtracker-miner: Honor auto_start parameter in tracker_miner_manager_new_full()
We didn't use the auto_start parameter at all, just passed FALSE each
time we created the object
src/libtracker-miner/tracker-miner-manager.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-manager.c b/src/libtracker-miner/tracker-miner-manager.c
index 3c7c6b1..da48801 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -599,7 +599,7 @@ tracker_miner_manager_new_full (gboolean auto_start,
manager = g_initable_new (TRACKER_TYPE_MINER_MANAGER,
NULL,
&inner_error,
- "auto-start", FALSE,
+ "auto-start", auto_start,
NULL);
if (!manager) {
g_critical ("Couldn't create new TrackerMinerManager: '%s'",
@@ -1139,7 +1139,7 @@ tracker_miner_manager_is_paused (TrackerMinerManager *manager,
g_critical ("Could not get pause details for miner '%s': %s", miner,
error->message);
g_error_free (error);
- return TRUE;
+ return FALSE;
}
g_variant_get (v, "(^as^as)", &apps, &r);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]