[tracker/tracker-0.12] tracker-extract: Also complete cancelled tasks
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.12] tracker-extract: Also complete cancelled tasks
- Date: Thu, 20 Oct 2011 12:45:55 +0000 (UTC)
commit 12ecb8748e36591ae9b95ffdbe1bd6b32045923f
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]