]> Pileus Git - ~andy/gtk/commit
treemodelfilter: correct forgotten unref of parent on level destroy
authorKristian Rietveld <kris@gtk.org>
Sun, 11 Sep 2011 14:53:27 +0000 (16:53 +0200)
committerKristian Rietveld <kris@gtk.org>
Sun, 11 Sep 2011 14:53:27 +0000 (16:53 +0200)
commit3db7344f33616983ca0b17b48200cf735679f695
tree60a1a7a350d7f275cd3ab7ac6b3ff4eac65d5b00
parent9c85042de65f71e02c21133e1b9df88aace98326
treemodelfilter: correct forgotten unref of parent on level destroy

gtk_tree_model_filter_free_level() should always release ref on parent
unless the parent has been removed in the child model.  The unit tests
added in the previous commit test this.
gtk/gtktreemodelfilter.c