[tracker/tracker-0.10] libtracker-miner: Make sure status is set to 'Idle' on object construction
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] libtracker-miner: Make sure status is set to 'Idle' on object construction
- Date: Thu, 16 Jun 2011 16:10:44 +0000 (UTC)
commit bf0fa01449f02e6547df0dc64bf0ef440acb2521
Author: Martyn Russell <martyn lanedo com>
Date: Tue Jun 14 15:29:54 2011 +0100
libtracker-miner: Make sure status is set to 'Idle' on object construction
This was done for progress, but not status for some reason.
src/libtracker-miner/tracker-miner-object.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-miner-object.c b/src/libtracker-miner/tracker-miner-object.c
index 0743f48..240e8aa 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -336,8 +336,8 @@ tracker_miner_class_init (TrackerMinerClass *klass)
g_param_spec_string ("status",
"Status",
"Translatable string with status description",
- NULL,
- G_PARAM_READWRITE));
+ "Idle",
+ G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class,
PROP_PROGRESS,
g_param_spec_double ("progress",
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]