]> Pileus Git - ~andy/gtk/commit
gtktreemodelfilter: make rule used for level caching consistent
authorKristian Rietveld <kris@gtk.org>
Wed, 7 Sep 2011 07:25:36 +0000 (09:25 +0200)
committerKristian Rietveld <kris@gtk.org>
Wed, 7 Sep 2011 20:25:29 +0000 (22:25 +0200)
commitf317dd383108d796c4ab98395d846d24dfbd6d53
tree46f47d049ac8825dd671095442e64b1ccfb20e83
parent0bedb51b33c6aff8d5f444f1bcf2f67206c7fd20
gtktreemodelfilter: make rule used for level caching consistent

There was still a discrepancy between the comments and the code about when
exactly a level was to be removed.  The rule is now set on that for a level
to be removed its zero_ref_count as well as the zero_ref_count of its
parent has to be zero.
gtk/gtktreemodelfilter.c