Separated psppire_selector_set_subjects into two individual functions
[pspp-builds.git] / src / ui / gui / rank-dialog.c
index e0d764842d57bd039e645e514d7258d7315139fe..157f213609dc3ccc8d4f517a74649c00eba4df1b 100644 (file)
@@ -310,16 +310,14 @@ rank_dialog (GObject *o, gpointer data)
 
   set_dest_model (GTK_TREE_VIEW (rd.rank_vars), rd.dict);
 
-  psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector1),
+  psppire_selector_set_select_func (PSPPIRE_SELECTOR (selector1),
                                 insert_source_row_into_tree_view,
-                                NULL,
                                 NULL);
 
   set_dest_model (GTK_TREE_VIEW (rd.group_vars), rd.dict);
 
-  psppire_selector_set_subjects (PSPPIRE_SELECTOR (selector2),
+  psppire_selector_set_select_func (PSPPIRE_SELECTOR (selector2),
                                 insert_source_row_into_tree_view,
-                                NULL,
                                 NULL);