[tracker] 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] libtracker-miner: Make sure status is set to 'Idle' on object construction
- Date: Tue, 14 Jun 2011 14:31:09 +0000 (UTC)
commit a6267956a1b1607277eacd5fd75e4576907d4920
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 ff38be0..534a91c 100644
--- a/src/libtracker-miner/tracker-miner-object.c
+++ b/src/libtracker-miner/tracker-miner-object.c
@@ -346,8 +346,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]