gui: Factor out duplicated code for executing and pasting syntax.
authorBen Pfaff <blp@cs.stanford.edu>
Sun, 5 Dec 2010 14:43:51 +0000 (06:43 -0800)
committerBen Pfaff <blp@cs.stanford.edu>
Sun, 5 Dec 2010 14:43:51 +0000 (06:43 -0800)
commit0c5217288cb57d0994d4c99997f5341e2c3a6871
tree9e6d0018a0ed96bbc00c0234b51b3659546224d5
parentbd50b397b3ed4e7e627c33e234a5d0394e2c3dc6
gui: Factor out duplicated code for executing and pasting syntax.

Reducing code duplication is good on its own.  This will also make it
easier in upcoming patches to swap out "getl_interface" with a new
structure, by eliminating most of the references to getl_interface.
36 files changed:
src/ui/gui/aggregate-dialog.c
src/ui/gui/binomial-dialog.c
src/ui/gui/chi-square-dialog.c
src/ui/gui/comments-dialog.c
src/ui/gui/compute-dialog.c
src/ui/gui/correlation-dialog.c
src/ui/gui/crosstabs-dialog.c
src/ui/gui/descriptives-dialog.c
src/ui/gui/examine-dialog.c
src/ui/gui/executor.c
src/ui/gui/executor.h
src/ui/gui/factor-dialog.c
src/ui/gui/frequencies-dialog.c
src/ui/gui/helper.c
src/ui/gui/helper.h
src/ui/gui/k-related-dialog.c
src/ui/gui/oneway-anova-dialog.c
src/ui/gui/psppire-data-editor.c
src/ui/gui/psppire-data-window.c
src/ui/gui/psppire.c
src/ui/gui/rank-dialog.c
src/ui/gui/recode-dialog.c
src/ui/gui/regression-dialog.c
src/ui/gui/reliability-dialog.c
src/ui/gui/roc-dialog.c
src/ui/gui/select-cases-dialog.c
src/ui/gui/sort-cases-dialog.c
src/ui/gui/split-file-dialog.c
src/ui/gui/t-test-independent-samples-dialog.c
src/ui/gui/t-test-one-sample.c
src/ui/gui/t-test-paired-samples.c
src/ui/gui/text-data-import-dialog.c
src/ui/gui/text-data-import-dialog.h
src/ui/gui/transpose-dialog.c
src/ui/gui/variable-info-dialog.c
src/ui/gui/weight-cases-dialog.c