[tracker] 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] libtracker-miner: Honor auto_start parameter in tracker_miner_manager_new_full()
- Date: Thu, 2 Jun 2011 16:46:01 +0000 (UTC)
commit f0ab1566f8926b1391f3292f074b210cda8859a0
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 e1cb7dd..7b2e863 100644
--- a/src/libtracker-miner/tracker-miner-manager.c
+++ b/src/libtracker-miner/tracker-miner-manager.c
@@ -602,7 +602,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'",
@@ -1171,7 +1171,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]