summaryrefslogtreecommitdiff
path: root/libnautilus-private
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-07-21 23:56:16 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-07-22 13:02:04 +0200
commit164e95fd3d8676f8ce6040cc4a4968cbc37adee6 (patch)
tree4f2e61461440d90b80734141b82e397b892d0d57 /libnautilus-private
parenta8bb1a9842db396549d081d0253d5b6cad446787 (diff)
downloadnautilus-164e95fd3d8676f8ce6040cc4a4968cbc37adee6.tar.gz
search-engine-simple: don't mark as finished before cancelling
We were marking as search finished before the search thread actually finished the operation. Wait to mark as finished when the search thread actually reach its cancel.
Diffstat (limited to 'libnautilus-private')
-rw-r--r--libnautilus-private/nautilus-search-engine-simple.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libnautilus-private/nautilus-search-engine-simple.c b/libnautilus-private/nautilus-search-engine-simple.c
index 2ce3bf977..5bcea4956 100644
--- a/libnautilus-private/nautilus-search-engine-simple.c
+++ b/libnautilus-private/nautilus-search-engine-simple.c
@@ -371,7 +371,6 @@ nautilus_search_engine_simple_stop (NautilusSearchProvider *provider)
if (simple->details->active_search != NULL) {
DEBUG ("Simple engine stop");
g_cancellable_cancel (simple->details->active_search->cancellable);
- simple->details->active_search = NULL;
}
}