X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fdescriptives-dialog.c;h=a867fe016d05131f0ff759e3536118c5ae60c855;hb=b5c82cc9aabe7e641011130240ae1b2e84348e23;hp=e3a6d505115c25ad4b85b7bc259ca7fb88e450e3;hpb=83477e8021833536509416fc98179546e4cfb6a7;p=pspp-builds.git diff --git a/src/ui/gui/descriptives-dialog.c b/src/ui/gui/descriptives-dialog.c index e3a6d505..a867fe01 100644 --- a/src/ui/gui/descriptives-dialog.c +++ b/src/ui/gui/descriptives-dialog.c @@ -29,7 +29,7 @@ #include #include #include -#include +#include "executor.h" #include "gettext.h" #define _(msgid) gettext (msgid) @@ -223,9 +223,8 @@ descriptives_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - attach_dictionary_to_treeview (GTK_TREE_VIEW (source), - vs->dict, - GTK_SELECTION_MULTIPLE, var_is_numeric); + g_object_set (source, "dictionary", vs->dict, + "predicate", var_is_numeric, NULL); set_dest_model (GTK_TREE_VIEW (dest), vs->dict);