tracker r2022 - in branches/indexer-split: . src/tracker-indexer
- From: carlosg svn gnome org
- To: svn-commits-list gnome org
- Subject: tracker r2022 - in branches/indexer-split: . src/tracker-indexer
- Date: Thu, 7 Aug 2008 10:28:56 +0000 (UTC)
Author: carlosg
Date: Thu Aug 7 10:28:56 2008
New Revision: 2022
URL: http://svn.gnome.org/viewvc/tracker?rev=2022&view=rev
Log:
2008-08-07 Carlos Garnacho <carlos imendio com>
* src/tracker-indexer/tracker-indexer.c (tracker_indexer_set_running):
Fix typo. Also try to flush the index before pausing.
Modified:
branches/indexer-split/ChangeLog
branches/indexer-split/src/tracker-indexer/tracker-indexer.c
Modified: branches/indexer-split/src/tracker-indexer/tracker-indexer.c
==============================================================================
--- branches/indexer-split/src/tracker-indexer/tracker-indexer.c (original)
+++ branches/indexer-split/src/tracker-indexer/tracker-indexer.c Thu Aug 7 10:28:56 2008
@@ -1467,14 +1467,12 @@
was_running = tracker_indexer_get_running (indexer);
- if (was_running == was_running) {
+ if (running == was_running) {
return;
}
if (!running) {
- if (indexer->private->in_transaction) {
- stop_transaction (indexer);
- }
+ schedule_flush (indexer, TRUE);
g_source_remove (indexer->private->idle_id);
indexer->private->idle_id = 0;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]