From 0be2fe4054c559c9dd44b6bcea1f7db2364a73ea Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 10 Apr 2009 16:56:06 +0000 Subject: [PATCH] Adjust empetit to test the contact selector filtering. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2806 --- tests/empetit.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/empetit.c b/tests/empetit.c index 2c69d101..e2eb61f6 100644 --- a/tests/empetit.c +++ b/tests/empetit.c @@ -60,6 +60,9 @@ int main (int argc, manager = empathy_contact_manager_dup_singleton (); selector = empathy_contact_selector_new (EMPATHY_CONTACT_LIST (manager)); + empathy_contact_selector_set_visible (EMPATHY_CONTACT_SELECTOR (selector), + (EmpathyContactSelectorFilterFunc) empathy_contact_can_send_files, NULL); + vbox = gtk_vbox_new (FALSE, 2); gtk_box_pack_start (GTK_BOX (vbox), selector, FALSE, FALSE, 5); -- 2.39.2