X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Ft-test-one-sample.c;h=18bdbb5dd3003f506a73a3b265a449a679541d77;hb=b5c82cc9aabe7e641011130240ae1b2e84348e23;hp=985845015f56db5473cbd4d035a385666b0d2d05;hpb=4c4f035bfad520dc54f0d5a9e30e36d4fb009efc;p=pspp-builds.git diff --git a/src/ui/gui/t-test-one-sample.c b/src/ui/gui/t-test-one-sample.c index 98584501..18bdbb5d 100644 --- a/src/ui/gui/t-test-one-sample.c +++ b/src/ui/gui/t-test-one-sample.c @@ -17,7 +17,6 @@ #include -#include #include #include "t-test-one-sample.h" #include "psppire-dict.h" @@ -28,6 +27,7 @@ #include "dialog-common.h" #include "dict-display.h" #include "widget-io.h" +#include "executor.h" #include "t-test-options.h" #include @@ -127,7 +127,7 @@ t_test_one_sample_dialog (GObject *o, gpointer data) PsppireVarStore *vs = NULL; - GladeXML *xml = XML_NEW ("t-test.glade"); + GtkBuilder *xml = builder_new ("t-test.ui"); GtkWidget *dict_view = get_widget_assert (xml, "one-sample-t-test-treeview2"); @@ -148,10 +148,10 @@ t_test_one_sample_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - attach_dictionary_to_treeview (GTK_TREE_VIEW (dict_view), + g_object_set (dict_view, "dictionary", vs->dict, - GTK_SELECTION_MULTIPLE, - var_is_numeric); + "predicate", + var_is_numeric, NULL); set_dest_model (GTK_TREE_VIEW (tt_d.vars_treeview), vs->dict);