[tracker] libtracker-miner: Emit TrackerDecorator::finished on 0 items
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] libtracker-miner: Emit TrackerDecorator::finished on 0 items
- Date: Sun, 24 Jun 2018 11:00:37 +0000 (UTC)
commit adee4ed18ced17ab4e38b376ac19aa43099c4f36
Author: Carlos Garnacho <carlosg gnome org>
Date: Fri Jun 22 23:46:58 2018 +0200
libtracker-miner: Emit TrackerDecorator::finished on 0 items
If no items are found, ::finished is silenced away. Better to do
this for consistency.
src/libtracker-miner/tracker-decorator.c | 3 ---
1 file changed, 3 deletions(-)
---
diff --git a/src/libtracker-miner/tracker-decorator.c b/src/libtracker-miner/tracker-decorator.c
index bc3208c01..2c171a38a 100644
--- a/src/libtracker-miner/tracker-decorator.c
+++ b/src/libtracker-miner/tracker-decorator.c
@@ -499,9 +499,6 @@ decorator_finish (TrackerDecorator *decorator)
{
TrackerDecoratorPrivate *priv = decorator->priv;
- if (!priv->processing)
- return;
-
priv->processing = FALSE;
priv->n_remaining_items = priv->n_processed_items = 0;
g_signal_emit (decorator, signals[FINISHED], 0);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]