]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-contact-selector.h
Merge branch 'irc-dialog-579800'
[empathy.git] / libempathy-gtk / empathy-contact-selector.h
index 1418f7cd33ade00fd66c212ce49afdfb889cd47c..205b9e411466701a2715cef19b98f4d1f012dcef 100644 (file)
@@ -49,6 +49,8 @@ typedef struct _EmpathyContactSelectorClass EmpathyContactSelectorClass;
 struct _EmpathyContactSelector
 {
   GtkComboBox parent;
+
+  /*<private>*/
   gpointer priv;
 };
 
@@ -58,11 +60,15 @@ struct _EmpathyContactSelectorClass
 };
 
 GType empathy_contact_selector_get_type (void) G_GNUC_CONST;
-EmpathyContactSelector *
-empathy_contact_selector_new (EmpathyContactListStore *store);
 
-EmpathyContact *
-empathy_contact_selector_get_selected (EmpathyContactSelector *selector);
+GtkWidget * empathy_contact_selector_new (EmpathyContactList *contact_list);
+
+EmpathyContact * empathy_contact_selector_dup_selected (EmpathyContactSelector *selector);
+
+typedef gboolean (*EmpathyContactSelectorFilterFunc) (EmpathyContact *contact, gpointer user_data);
+
+void empathy_contact_selector_set_visible (EmpathyContactSelector *selector,
+   EmpathyContactSelectorFilterFunc func, gpointer user_data);
 
 G_END_DECLS