GNOME Bugzilla – Bug 346886
GtkTreeModelFilter doesn't allow multiple calls to set_visible_func
Last modified: 2014-08-30 06:02:43 UTC
Please describe the problem: The code in gtktreemodelfilter.c is such that a function set through a call to gtk_tree_model_filter_set_visible_func cannot be overriden by another call to gtk_tree_model_filter_set_visible_func. It seems to me that simply removing the g_return_if_fail would be enough, since the if statement right after that already deals with the case where such a function has been set. Steps to reproduce: 1. 2. 3. Actual results: Expected results: Does this happen every time? Other information:
reassigning to the right component
Kris informed me that this was an intentional design decision. It does need to be clearly documented, however.