X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fdescriptives-dialog.c;h=c29e1d8d66c14a8cda6f6b98f8efc3e3ed6e2370;hb=b94025a12799b6826a772731b8f58907dca2cf5c;hp=318646f8ef87a4eff2002a092f7d6a111a6e70f1;hpb=86166f73821142c2f82fdace3ac40a0933989dcd;p=pspp-builds.git diff --git a/src/ui/gui/descriptives-dialog.c b/src/ui/gui/descriptives-dialog.c index 318646f8..c29e1d8d 100644 --- a/src/ui/gui/descriptives-dialog.c +++ b/src/ui/gui/descriptives-dialog.c @@ -226,17 +226,13 @@ descriptives_dialog (GObject *o, gpointer data) gtk_window_set_transient_for (GTK_WINDOW (dialog), GTK_WINDOW (de)); - g_object_set (source, "dictionary", dict, + g_object_set (source, "model", dict, "predicate", var_is_numeric, NULL); set_dest_model (GTK_TREE_VIEW (dest), dict); - psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector), - source, - dest, - insert_source_row_into_tree_view, - NULL, - NULL); + psppire_selector_set_select_func (PSPPIRE_SELECTOR (selector), + insert_source_row_into_tree_view, NULL); put_checkbox_items_in_treeview (GTK_TREE_VIEW (stats_treeview), B_DS_DEFAULT,