forked from AuroraMiddleware/gtk
Fix #314335
This commit is contained in:
parent
2b1bea02f2
commit
3b40a9c2d9
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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:
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user