[tracker] tracker-extract: Also complete cancelled tasks
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] tracker-extract: Also complete cancelled tasks
- Date: Tue, 18 Oct 2011 15:13:06 +0000 (UTC)
commit 0ca3ebf3aba481622c130736d6156677a891274d
Author: Carlos Garnacho <carlos lanedo com>
Date: Tue Oct 18 10:21:04 2011 +0200
tracker-extract: Also complete cancelled tasks
If a task happened to be cancelled at the time of
get_metadata(), the error was set, but the async
result wasn't notified.
src/tracker-extract/tracker-extract.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/tracker-extract/tracker-extract.c b/src/tracker-extract/tracker-extract.c
index 68dcdc6..86f3065 100644
--- a/src/tracker-extract/tracker-extract.c
+++ b/src/tracker-extract/tracker-extract.c
@@ -542,6 +542,7 @@ get_metadata (TrackerExtractTask *task)
"Extraction of '%s' was cancelled",
task->file);
+ g_simple_async_result_complete_in_idle ((GSimpleAsyncResult *) task->res);
extract_task_free (task);
return FALSE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]