X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Fui%2Fgui%2Fruns-dialog.c;h=7bc05f2422c711c2a3884aa340f791dc8d4dfc35;hb=bea8b007855970c07083dbec5b5cc90f33990957;hp=6f877e827d9aeda97ed3680da5af88b7b9936e3f;hpb=d46430e7458fcd65dfdf7928f52f2d06fa60127d;p=pspp diff --git a/src/ui/gui/runs-dialog.c b/src/ui/gui/runs-dialog.c index 6f877e827d..7bc05f2422 100644 --- a/src/ui/gui/runs-dialog.c +++ b/src/ui/gui/runs-dialog.c @@ -122,8 +122,6 @@ runs_dialog (PsppireDataWindow *dw) struct runs fd; gint response; - PsppireVarStore *vs; - GtkWidget *dialog ; GtkWidget *source ; @@ -145,11 +143,9 @@ runs_dialog (PsppireDataWindow *dw) fd.variables = get_widget_assert (fd.xml, "psppire-var-view1"); - g_object_get (fd.de->data_editor, "var-store", &vs, NULL); - gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (fd.de)); - g_object_get (vs, "dictionary", &fd.dict, NULL); + g_object_get (fd.de->data_editor, "dictionary", &fd.dict, NULL); g_object_set (source, "model", fd.dict, "predicate", var_is_numeric, NULL);