Separated psppire_selector_set_subjects into two individual functions
[pspp-builds.git] / src / ui / gui / descriptives-dialog.c
index 1b49d92130839f9db49f0d3cc8d57390043bd1b7..c29e1d8d66c14a8cda6f6b98f8efc3e3ed6e2370 100644 (file)
@@ -226,15 +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),
-                                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,