summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Soriano <csoriano@gnome.org>2015-07-22 16:25:51 +0200
committerCarlos Soriano <csoriano@gnome.org>2015-07-23 18:51:34 +0200
commit625fbb717f481b23a9beff21770385f857946f99 (patch)
treec231c7a71f66bf48f7107064af1a9e667db2ac9c
parent07cdcbeb9e7bd2e7da58fe63da9c2c3ffb425123 (diff)
downloadnautilus-625fbb717f481b23a9beff21770385f857946f99.tar.gz
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.
-rw-r--r--src/nautilus-shell-search-provider.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/nautilus-shell-search-provider.c b/src/nautilus-shell-search-provider.c
index 78cfb83d0..a2b596d4f 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;