summaryrefslogtreecommitdiff
path: root/src/Instance.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/Instance.cxx')
-rw-r--r--src/Instance.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx
index f65eca42d..0122a9732 100644
--- a/src/Instance.cxx
+++ b/src/Instance.cxx
@@ -77,7 +77,6 @@ Instance::OnDatabaseModified()
stats_invalidate();
partition->DatabaseModified(*database);
- idle_add(IDLE_DATABASE);
}
void
@@ -102,13 +101,13 @@ Instance::OnDatabaseSongRemoved(const LightSong &song)
void
Instance::FoundNeighbor(gcc_unused const NeighborInfo &info)
{
- idle_add(IDLE_NEIGHBOR);
+ partition->EmitIdle(IDLE_NEIGHBOR);
}
void
Instance::LostNeighbor(gcc_unused const NeighborInfo &info)
{
- idle_add(IDLE_NEIGHBOR);
+ partition->EmitIdle(IDLE_NEIGHBOR);
}
#endif