gui: Properly manage ref counts of combo box and tree view models.
authorBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:16:30 +0000 (22:16 -0700)
committerBen Pfaff <blp@cs.stanford.edu>
Wed, 25 Apr 2012 05:19:41 +0000 (22:19 -0700)
gtk_combo_box_set_model() and gtk_tree_view_set_model() add a
reference to the passed-in model, instead of transferring a
reference from the caller.  A lot of the calls to these functions,
however, assumed that a reference was transferred and therefore
leaked a reference.  This fixes them up.

This doesn't change PsppireValueEntry, because there's an ongoing
discussion about that.


No differences found