From 79869fd920fcc70a901044c7ee362038ea42b27a Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 17 Jul 2012 18:09:04 -0400 Subject: Collect results from both search providers Previously we would only use the compiled in search provider. Now it has been changed to run both providers at the same time and merge the results by URI. https://bugzilla.gnome.org/show_bug.cgi?id=680137 --- test/test-nautilus-search-engine.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'test') diff --git a/test/test-nautilus-search-engine.c b/test/test-nautilus-search-engine.c index 6dac732d0..096076bd1 100644 --- a/test/test-nautilus-search-engine.c +++ b/test/test-nautilus-search-engine.c @@ -1,3 +1,4 @@ +#include #include #include @@ -46,10 +47,10 @@ main (int argc, char* argv[]) query = nautilus_query_new (); nautilus_query_set_text (query, "richard hult"); - nautilus_search_engine_set_query (engine, query); + nautilus_search_provider_set_query (NAUTILUS_SEARCH_PROVIDER (engine), query); g_object_unref (query); - nautilus_search_engine_start (engine); + nautilus_search_provider_start (NAUTILUS_SEARCH_PROVIDER (engine)); gtk_main (); return 0; -- cgit v1.2.1