summaryrefslogtreecommitdiff
path: root/gtk/gtksearchengine.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2015-07-24 15:44:20 -0400
committerMatthias Clasen <mclasen@redhat.com>2015-07-27 08:07:39 -0400
commit30de4cc7bbaa3d36ebfeb761582c9cc987635fc6 (patch)
tree9976ec01155baece86d597fb63e522f744a094f7 /gtk/gtksearchengine.c
parent1069e2b9ccbb9c9a63fe56c93026209ab5839897 (diff)
downloadgtk+-30de4cc7bbaa3d36ebfeb761582c9cc987635fc6.tar.gz
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.
Diffstat (limited to 'gtk/gtksearchengine.c')
-rw-r--r--gtk/gtksearchengine.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
index f11ce73264..eff96923aa 100644
--- a/gtk/gtksearchengine.c
+++ b/gtk/gtksearchengine.c
@@ -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);
}