X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Funivariate-dialog.c;h=2f241498603f3fd9397545d7eea7a7aa9d60f3fc;hb=refs%2Fbuilds%2F20121024032018%2Fpspp;hp=44e341a26b5c8a7466d2326b2d5f46d8b82052d7;hpb=d46430e7458fcd65dfdf7928f52f2d06fa60127d;p=pspp diff --git a/src/ui/gui/univariate-dialog.c b/src/ui/gui/univariate-dialog.c index 44e341a26b..2f24149860 100644 --- a/src/ui/gui/univariate-dialog.c +++ b/src/ui/gui/univariate-dialog.c @@ -114,13 +114,9 @@ univariate_dialog (PsppireDataWindow * de) GtkWidget *factor_selector = get_widget_assert (xml, "factor-selector"); - PsppireVarStore *vs = NULL; - uv_d.dep_entry = get_widget_assert (xml, "dep-entry"); uv_d.factor_list = get_widget_assert (xml, "factors-view"); - g_object_get (de->data_editor, "var-store", &vs, NULL); - gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); g_signal_connect (dialog, "refresh", G_CALLBACK (refresh), &uv_d); @@ -128,7 +124,7 @@ univariate_dialog (PsppireDataWindow * de) dialog_state_valid, &uv_d); - g_object_get (vs, "dictionary", &uv_d.dict, NULL); + g_object_get (de->data_editor, "dictionary", &uv_d.dict, NULL); g_object_set (source, "model", uv_d.dict, NULL); psppire_selector_set_allow (PSPPIRE_SELECTOR (dep_selector),