[gtk+/wip/matthiasc/local-search: 4/8] Actually use search results from the model
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/wip/matthiasc/local-search: 4/8] Actually use search results from the model
- Date: Fri, 24 Jul 2015 20:28:57 +0000 (UTC)
commit df9658c0c3c454235ba1d07762cf7acf7aaa133f
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Jul 24 15:44:20 2015 -0400
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.
gtk/gtksearchengine.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtksearchengine.c b/gtk/gtksearchengine.c
index f11ce73..eff9692 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);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]