These changes make the code smaller and eliminate a good deal of redundancy. They also make it easier to use by replacing the GtkEntry widgets by GtkSpinButtons, and fix a Glib-CRITICAL that occurred when the user chose invalid width or decimal places for a custom currency format.
Ben Pfaff (4): var-type-dialog: Properly adjust formats when switching buttons. var-type-dialog: Reduce redundancy. var-type-dialog: Reduce redundancy further. var-type-dialog: Change entries to spin buttons, add validation. src/ui/gui/var-type-dialog.c | 561 +++++++++++++++++------------------------ src/ui/gui/var-type-dialog.h | 4 +- src/ui/gui/var-type-dialog.ui | 24 ++- 3 files changed, 261 insertions(+), 328 deletions(-) -- 1.7.2.5 _______________________________________________ pspp-dev mailing list pspp-dev@gnu.org https://lists.gnu.org/mailman/listinfo/pspp-dev