John made me realize that the *_set_model() functions don't transfer the caller's reference but take their own.
Ben Pfaff (2): psppire-acr: Clarify acr ownership of its list store. gui: Properly manage ref counts of combo box and tree view models. src/ui/gui/aggregate-dialog.c | 3 ++ src/ui/gui/checkbox-treeview.c | 6 +++- src/ui/gui/chi-square-dialog.c | 1 + src/ui/gui/compute-dialog.c | 1 + src/ui/gui/count-dialog.c | 1 + src/ui/gui/psppire-acr.c | 45 ++++++++++++++------------------- src/ui/gui/psppire-dictview.c | 3 +- src/ui/gui/psppire-output-window.c | 8 ++++-- src/ui/gui/psppire-selector.c | 4 ++- src/ui/gui/regression-dialog.c | 1 + src/ui/gui/text-data-import-dialog.c | 2 + 11 files changed, 42 insertions(+), 33 deletions(-) -- 1.7.2.5 _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-dev