X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Foneway-anova-dialog.c;h=3234c32325b544140676080aa1ab94802e6fb14a;hb=a9a69251edd625a50f271af5d64c157533b5fe48;hp=3c80f9e3574e226c9509008d0a329bcd39ee9406;hpb=84fbb877ec23bfab78876cd90aa7a29175495144;p=pspp-builds.git diff --git a/src/ui/gui/oneway-anova-dialog.c b/src/ui/gui/oneway-anova-dialog.c index 3c80f9e3..3234c323 100644 --- a/src/ui/gui/oneway-anova-dialog.c +++ b/src/ui/gui/oneway-anova-dialog.c @@ -31,7 +31,7 @@ #include -#include "helper.h" +#include "executor.h" #include "gettext.h" @@ -164,27 +164,25 @@ oneway_anova_dialog (GObject *o, gpointer data) g_object_get (de->data_editor, "var-store", &vs, NULL); - ow.dict = vs->dict; + g_object_get (vs, "dictionary", &ow.dict, NULL); ow.dialog = GTK_WINDOW (get_widget_assert (builder, "oneway-anova-dialog")); gtk_window_set_transient_for (ow.dialog, GTK_WINDOW (de)); - g_object_set (dict_view, "model", vs->dict, NULL); + g_object_set (dict_view, "model", ow.dict, NULL); - set_dest_model (GTK_TREE_VIEW (ow.vars_treeview), vs->dict); + set_dest_model (GTK_TREE_VIEW (ow.vars_treeview), ow.dict); psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector1), - dict_view, ow.vars_treeview, insert_source_row_into_tree_view, NULL, NULL); psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector2), - dict_view, ow.factor_entry, insert_source_row_into_entry, is_currently_in_entry, NULL);