]> Pileus Git - ~andy/gtk/commit
Bug 601512 - Remove unnecessary check in GtkTreeModelFilter
authorAlberto Garcia <agarcia@igalia.com>
Wed, 11 Nov 2009 11:14:16 +0000 (12:14 +0100)
committerKristian Rietveld <kris@gtk.org>
Sun, 15 Nov 2009 12:42:36 +0000 (13:42 +0100)
commit087348a55d28aa43cd9fa1eb21f7947326a548d2
tree8db34d190cb761ce7d193c80a36904a0fb9bf011
parent7fda8e6378d90bc8cf670ffe9dea682911e5e241
Bug 601512 -  Remove unnecessary check in GtkTreeModelFilter

gtk_tree_model_filter_set_visible_func() is checking for
priv->visible_func, but that is always going to be NULL since there's
no way to call this function twice.

Besides that the code itself is wrong, since it tries to call
priv->visible_destroy without making sure that it's not NULL
gtk/gtktreemodelfilter.c