This commit is contained in:
Matthias Clasen 2005-08-24 04:15:28 +00:00
parent 2b1bea02f2
commit 3b40a9c2d9
4 changed files with 22 additions and 3 deletions

View File

@ -1,3 +1,9 @@
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
against lazy filterers which return values other than TRUE or
FALSE from their visible func. (#314335)
2005-08-23 Owen Taylor <otaylor@redhat.com>
Fix for #314004, reported by Michael Reinsch:

View File

@ -1,3 +1,9 @@
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
against lazy filterers which return values other than TRUE or
FALSE from their visible func. (#314335)
2005-08-23 Owen Taylor <otaylor@redhat.com>
Fix for #314004, reported by Michael Reinsch:

View File

@ -1,3 +1,9 @@
2005-08-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_visible): Protect
against lazy filterers which return values other than TRUE or
FALSE from their visible func. (#314335)
2005-08-23 Owen Taylor <otaylor@redhat.com>
Fix for #314004, reported by Michael Reinsch:

View File

@ -686,9 +686,10 @@ gtk_tree_model_filter_visible (GtkTreeModelFilter *filter,
{
if (filter->priv->visible_func)
{
return (filter->priv->visible_func (filter->priv->child_model,
child_iter,
filter->priv->visible_data));
return filter->priv->visible_func (filter->priv->child_model,
child_iter,
filter->priv->visible_data)
? TRUE : FALSE:
}
else if (filter->priv->visible_column >= 0)
{