Commit 30de4cc7 authored by Matthias Clasen's avatar Matthias Clasen

Actually use search results from the model

We didn't connect to the signals, so we never picked up
any search results from the model engine. Good thing, since
it was returning the wrong thing.
parent 1069e2b9
......@@ -481,6 +481,7 @@ _gtk_search_engine_set_model (GtkSearchEngine *engine,
if (model)
{
engine->priv->model = _gtk_search_engine_model_new (model);
connect_engine_signals (engine->priv->model, engine);
if (engine->priv->query)
_gtk_search_engine_set_query (engine->priv->model, engine->priv->query);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment