]> Pileus Git - ~andy/gtk/commit
Bug 621076 - GtkTreeModelFilter does not emit all signals in some ...
authorKristian Rietveld <kris@gtk.org>
Sat, 21 May 2011 09:45:08 +0000 (11:45 +0200)
committerKristian Rietveld <kris@gtk.org>
Mon, 22 Aug 2011 19:30:31 +0000 (21:30 +0200)
commit76cfd8bfacfa04ffa55a166905a99fcdf3d4f631
tree165b008e9d398c76a9be2fa149f9cfacea0d8b01
parentc8783d3339218cfce57cb14ec8a2d09742350530
Bug 621076 - GtkTreeModelFilter does not emit all signals in some ...

The bulk of the fix is to walk the chain of ancestors, starting at the
root level, and check if the visibility of any of the ancestors has
changed.  If yes, the necessary signals are emitted so that this change
is propagated properly.  This walk is done after a node has been
inserted, changed or deleted, see function
gtk_tree_model_filter_check_ancestors().

Bug reported, and initial debugging and analysis, by Xavier Claessens.
gtk/gtktreemodelfilter.c