diff options
| author | Alberto Garcia <agarcia@igalia.com> | 2009-11-11 12:04:04 +0100 |
|---|---|---|
| committer | Claudio Saavedra <csaavedra@igalia.com> | 2009-11-16 09:53:11 +0200 |
| commit | 2c120e5970371d1817abbda4ef53d3e9fbb521bf (patch) | |
| tree | 4009537304e635f7e8ad6bde4dd1d67b8873f9fa | |
| parent | 2cb02f34c9b8f01015bedb7460fc0e09b4ca815a (diff) | |
Remove unnecessary check from HildonLiveSearch
| -rw-r--r-- | hildon/hildon-live-search.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c index f6a434c..ec26d55 100644 --- a/hildon/hildon-live-search.c +++ b/hildon/hildon-live-search.c @@ -865,13 +865,6 @@ hildon_live_search_set_filter_func (HildonLiveSearch *livesearch, g_return_if_fail (priv->visible_func == NULL); g_return_if_fail (priv->text_column == -1); - if (priv->visible_func) { - GDestroyNotify d = priv->visible_destroy; - - priv->visible_destroy = NULL; - d (priv->visible_data); - } - priv->visible_func = func; priv->visible_data = data; priv->visible_destroy = destroy; |
