+ g_error ("Unsupported destination widget: %s", G_OBJECT_TYPE_NAME (selector->dest));
+
+}
+
+
+/* Set SELECT_FUNC and FILTER_FUNC for this selector */
+void
+psppire_selector_set_subjects (PsppireSelector *selector,
+ SelectItemsFunc *select_func,
+ FilterItemsFunc *filter_func,
+ gpointer user_data)
+{
+ selector->filter = filter_func ;
+ selector->select_user_data = user_data;
+
+ if ( filter_func == NULL)
+ {
+ if (GTK_IS_TREE_VIEW (selector->dest))
+ selector->filter = is_item_in_dest;
+ }