From 4df45fb806fdb78acbbca7e704780d427f11df2f Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Fri, 30 Jan 2009 17:35:40 +0000 Subject: Rename _get_selected to _dup_selected and make sure the contact is unrefed. Signed-off-by: Jonny Lamb svn path=/trunk/; revision=2357 --- libempathy-gtk/empathy-contact-selector.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'libempathy-gtk/empathy-contact-selector.h') diff --git a/libempathy-gtk/empathy-contact-selector.h b/libempathy-gtk/empathy-contact-selector.h index d766c5a62..19ca8cef8 100644 --- a/libempathy-gtk/empathy-contact-selector.h +++ b/libempathy-gtk/empathy-contact-selector.h @@ -58,11 +58,10 @@ struct _EmpathyContactSelectorClass }; GType empathy_contact_selector_get_type (void) G_GNUC_CONST; -GtkWidget * -empathy_contact_selector_new (EmpathyContactList *contact_list); -EmpathyContact * -empathy_contact_selector_get_selected (EmpathyContactSelector *selector); +GtkWidget * empathy_contact_selector_new (EmpathyContactList *contact_list); + +EmpathyContact * empathy_contact_selector_dup_selected (EmpathyContactSelector *selector); G_END_DECLS -- cgit v1.2.3