tracker r2068 - in branches/indexer-split: . src/trackerd
- From: mr svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2068 - in branches/indexer-split: . src/trackerd
- Date: Wed, 13 Aug 2008 12:53:32 +0000 (UTC)
Author: mr
Date: Wed Aug 13 12:53:31 2008
New Revision: 2068
URL: http://svn.gnome.org/viewvc/tracker?rev=2068&view=rev
Log:
* src/trackerd/tracker-status.c: (tracker_status_signal): If we
are told to signal but there is no TrackerDaemon object created
yet, don't error, instead drop the signal request. This occurs
when we start up the daemon with a reindex or first time index.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/trackerd/tracker-status.c
Modified: branches/indexer-split/src/trackerd/tracker-status.c
==============================================================================
--- branches/indexer-split/src/trackerd/tracker-status.c (original)
+++ branches/indexer-split/src/trackerd/tracker-status.c Wed Aug 13 12:53:31 2008
@@ -222,6 +222,13 @@
object = tracker_dbus_get_object (TRACKER_TYPE_DAEMON);
+ /* There are times on startup whe we haven't initialized the
+ * DBus objects yet so signalling status is not practical.
+ */
+ if (!object) {
+ return;
+ }
+
if (private->is_first_time_index) {
pause_on_battery =
!tracker_config_get_disable_indexing_on_battery_init (private->config);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]