X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?p=pspp-builds.git;a=blobdiff_plain;f=src%2Fui%2Fgui%2Fcompute-dialog.c;h=c09c7571936fa4e4ca493bd0647b2586629caa6d;hp=e779fba6d7f7c847144d1d6254ad57354bb705e2;hb=66153a44d861ccddf6a176ec5a94ffb959232ad6;hpb=d8659cda7d193dd3e6e035cd0b1b40493d360f0b diff --git a/src/ui/gui/compute-dialog.c b/src/ui/gui/compute-dialog.c index e779fba6..c09c7571 100644 --- a/src/ui/gui/compute-dialog.c +++ b/src/ui/gui/compute-dialog.c @@ -389,7 +389,7 @@ compute_dialog (GObject *o, gpointer data) g_object_get (de->data_editor, "var-store", &vs, NULL); - scd.dict = vs->dict; + g_object_get (vs, "dictionary", &scd.dict, NULL); scd.use_type = FALSE; g_signal_connect (expression, "toggled", @@ -397,8 +397,8 @@ compute_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - g_object_set (dict_view, - "dictionary", vs->dict, + + g_object_set (dict_view, "dictionary", scd.dict, "selection-mode", GTK_SELECTION_SINGLE, NULL);