X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Foneway-anova-dialog.c;h=ea390c334275f797b4069fd793b994d02b3827fa;hb=7c2fa3735ac1115b6c1ad4b5e0613673de2faf4c;hp=2fb88268731a3b1a4126a1450fca3d122c9252c6;hpb=7fbfc32fc3c636959b0a25b3e76609f86519e84a;p=pspp-builds.git diff --git a/src/ui/gui/oneway-anova-dialog.c b/src/ui/gui/oneway-anova-dialog.c index 2fb88268..ea390c33 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, "dictionary", vs->dict, NULL); + g_object_set (dict_view, "dictionary", 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);