PsppireVarSheet: Keep reference to the return value of _get_ui_manager
authorJohn Darrington <john@darrington.wattle.id.au>
Thu, 5 Jul 2012 17:55:52 +0000 (19:55 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sun, 8 Jul 2012 09:57:31 +0000 (11:57 +0200)
commit6add778a08723f91748a742099b70aa911437f35
tree57b786b732247033cbc09749a71f5f53377f06eb
parenta322e48317ee677acf77f64f8ceb398e9227e276
PsppireVarSheet: Keep reference to the return value of _get_ui_manager

I changed the var_sheett to keep a reference to the uim object which it
returns from the _get_ui_manager objects.  This avoids a problem where
the object was getting its last reference unreffed by another object.
src/ui/gui/psppire-var-sheet.c
src/ui/gui/psppire-var-sheet.h