X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fui%2Fgui%2Fregression-dialog.c;h=eaca17e074e49aef32c5cbbb7447ef3c012b94b8;hp=a702ffb78df0c8d7681c2ec52ce8b6612efc65f8;hb=66153a44d861ccddf6a176ec5a94ffb959232ad6;hpb=d8659cda7d193dd3e6e035cd0b1b40493d360f0b diff --git a/src/ui/gui/regression-dialog.c b/src/ui/gui/regression-dialog.c index a702ffb7..eaca17e0 100644 --- a/src/ui/gui/regression-dialog.c +++ b/src/ui/gui/regression-dialog.c @@ -253,10 +253,11 @@ regression_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - g_object_set (source, "dictionary", vs->dict, NULL); + g_object_get (vs, "dictionary", &rd.dict, NULL); + g_object_set (source, "dictionary", rd.dict, NULL); - set_dest_model (GTK_TREE_VIEW (dest_dep), vs->dict); - set_dest_model (GTK_TREE_VIEW (dest_indep), vs->dict); + set_dest_model (GTK_TREE_VIEW (dest_dep), rd.dict); + set_dest_model (GTK_TREE_VIEW (dest_indep), rd.dict); psppire_selector_set_subjects (PSPPIRE_SELECTOR (dep_selector), source, @@ -274,7 +275,8 @@ regression_dialog (GObject *o, gpointer data) rd.dep_vars = GTK_TREE_VIEW (dest_dep); rd.indep_vars = GTK_TREE_VIEW (dest_indep); - rd.dict = vs->dict; + + rd.save_dialog = get_widget_assert (xml, "save-dialog"); rd.pred_button = GTK_TOGGLE_BUTTON (get_widget_assert (xml, "pred-button")); rd.resid_button = GTK_TOGGLE_BUTTON (get_widget_assert (xml, "resid-button"));