From d8d8cec1defdaad529f2f4383a02c664c3f9af47 Mon Sep 17 00:00:00 2001 From: Claudio Saavedra Date: Mon, 12 Apr 2010 13:23:27 +0300 Subject: Revert "[HildonLiveSearch] Unset the filter visible func. during dispose" This reverts commit fc750821842df60096068c9c9e4b33085a1eecbf. That commit is broken since the filter is set to NULL. Also, it is not really possible to change or unset the visible function, so we are doomed. --- hildon/hildon-live-search.c | 7 ------- 1 file changed, 7 deletions(-) (limited to 'hildon/hildon-live-search.c') diff --git a/hildon/hildon-live-search.c b/hildon/hildon-live-search.c index 3a1adb2..959fc3a 100644 --- a/hildon/hildon-live-search.c +++ b/hildon/hildon-live-search.c @@ -566,13 +566,6 @@ hildon_live_search_dispose (GObject *object) priv->prefix = NULL; } - if (priv->visible_func_set == TRUE) { - gtk_tree_model_filter_set_visible_func (priv->filter, - FALSE, - NULL, NULL); - priv->visible_func_set = FALSE; - } - if (priv->visible_destroy) { priv->visible_destroy (priv->visible_data); priv->visible_destroy = NULL; -- cgit v1.2.3-18-g5258