aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2010-02-24 18:34:32 +0200
committerClaudio Saavedra <csaavedra@igalia.com>2010-02-25 13:29:15 +0200
commitdb4f4723916ae07c23ac0abc586b81e8386c8c87 (patch)
tree48bed221e3a105bdfd399d222d3e8b90c168bafc
parent6ad1c4e4939fa7b5097464312feff40b5ed4d68f (diff)
Fix critical warnings
Create the selection map when the filter is set and there is already a prefix text in the live search.
-rw-r--r--hildon/hildon-live-search.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c
index a87a122..aa7a1cf 100644
--- a/hildon/hildon-live-search.c
+++ b/hildon/hildon-live-search.c
@@ -844,6 +844,10 @@ hildon_live_search_set_filter (HildonLiveSearch *livesearch,
refilter (livesearch);
+ if (priv->prefix) {
+ selection_map_create (priv);
+ }
+
g_object_notify (G_OBJECT (livesearch), "filter");
}