Commit 3b40a9c2 authored by Matthias Clasen's avatar Matthias Clasen
Browse files

Fix #314335

parent 2b1bea02
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:
......
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:
......
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:
......
......@@ -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)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment