aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Saavedra <csaavedra@igalia.com>2010-02-24 18:12:13 +0200
committerClaudio Saavedra <csaavedra@igalia.com>2010-02-25 13:29:15 +0200
commit44a8ca8e6195b401c39259edbe085383adbd29b3 (patch)
tree35c0989ef02aa2c261390d4ffea403c19d714b07
parenta767647a3f72f54c9cafb3968bddbde832426d8f (diff)
Fix a critical warning
There is a critical warning when HildonLiveSearch:text is set right after creation.
-rw-r--r--hildon/hildon-live-search.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c
index c66dee8..f8094ee 100644
--- a/hildon/hildon-live-search.c
+++ b/hildon/hildon-live-search.c
@@ -127,7 +127,7 @@ refilter (HildonLiveSearch *livesearch)
gboolean handled = FALSE;
g_signal_emit (livesearch, signals[REFILTER], 0, &handled);
- if (!handled)
+ if (!handled && priv->filter)
gtk_tree_model_filter_refilter (priv->filter);
}