[nautilus] shell-search-engine: fix crash
- From: Carlos Soriano Sánchez <csoriano src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus] shell-search-engine: fix crash
- Date: Thu, 23 Jul 2015 16:51:59 +0000 (UTC)
commit 625fbb717f481b23a9beff21770385f857946f99
Author: Carlos Soriano <csoriano gnome org>
Date: Wed Jul 22 16:25:51 2015 +0200
shell-search-engine: fix crash
With latests commits we changed the finished signal to report
also the search engine status.
I forgot to change it for the shell-search-provider as well,
which was making nautilus crash when searching on shell.
src/nautilus-shell-search-provider.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index 78cfb83..a2b596d 100644
--- a/src/nautilus-shell-search-provider.c
+++ b/src/nautilus-shell-search-provider.c
@@ -182,8 +182,9 @@ search_hit_compare_relevance (gconstpointer a,
}
static void
-search_finished_cb (NautilusSearchEngine *engine,
- gpointer user_data)
+search_finished_cb (NautilusSearchEngine *engine,
+ NautilusSearchProviderStatus status,
+ gpointer user_data)
{
PendingSearch *search = user_data;
GList *hits, *l;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]