[tracker-miners/wip/sthursfield/debian10-hacks: 3/5] HACK: Avoid g_timer_is_active()
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/wip/sthursfield/debian10-hacks: 3/5] HACK: Avoid g_timer_is_active()
- Date: Wed, 16 Jun 2021 17:27:11 +0000 (UTC)
commit d5869f0a100fa57c8bcb60d79ff83ee7d7873a21
Author: Sam Thursfield <sam afuera me uk>
Date: Wed Jun 16 14:19:05 2021 +0200
HACK: Avoid g_timer_is_active()
It's from GLib 2.62.
src/tracker-extract/tracker-extract.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 29c5df384..15cd48b4d 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -266,8 +266,8 @@ notify_task_finish (TrackerExtractTask *task,
priv->unhandled_count++;
}
- if (!priv->running_tasks && g_timer_is_active (priv->total_elapsed))
- g_timer_stop (priv->total_elapsed);
+ //if (!priv->running_tasks && g_timer_is_active (priv->total_elapsed))
+ /// g_timer_stop (priv->total_elapsed);
}
#endif
@@ -653,8 +653,8 @@ tracker_extract_file (TrackerExtract *extract,
#ifdef G_ENABLE_DEBUG
if (TRACKER_DEBUG_CHECK (STATISTICS)) {
- if (priv->running_tasks && !g_timer_is_active (priv->total_elapsed))
- g_timer_continue (priv->total_elapsed);
+ //if (priv->running_tasks && !g_timer_is_active (priv->total_elapsed))
+ //g_timer_continue (priv->total_elapsed);
}
#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]