X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fruns-dialog.c;h=bfbfc834cbced0e92ca00a1701bd75ad2ae8b08f;hb=a44f03df973e8dbce11e5424efb74c7b5e68334a;hp=7fc68131c64d03d58db31e040d3a7820c3c816f6;hpb=95d530fc232f438089bb65d2ae6330a9712d2f4f;p=pspp diff --git a/src/ui/gui/runs-dialog.c b/src/ui/gui/runs-dialog.c index 7fc68131c6..bfbfc834cb 100644 --- a/src/ui/gui/runs-dialog.c +++ b/src/ui/gui/runs-dialog.c @@ -113,8 +113,6 @@ runs_dialog (PsppireDataWindow *dw) struct runs fd; gint response; - PsppireVarStore *vs; - GtkWidget *dialog ; GtkWidget *source ; @@ -136,11 +134,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);