aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2009-01-31 01:35:40 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2009-01-31 01:35:40 +0800
commit4df45fb806fdb78acbbca7e704780d427f11df2f (patch)
tree7af1b6b8fdb98058585a2a729584b729caca20df /libempathy-gtk
parent8a2d8d7c22750a2a23f5bb7c55f0e0c346aadb12 (diff)
downloadgsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar.gz
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar.bz2
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar.lz
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar.xz
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.tar.zst
gsoc2013-empathy-4df45fb806fdb78acbbca7e704780d427f11df2f.zip
Rename _get_selected to _dup_selected and make sure the contact is unrefed.
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk> svn path=/trunk/; revision=2357
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-contact-selector.c2
-rw-r--r--libempathy-gtk/empathy-contact-selector.h7
2 files changed, 4 insertions, 5 deletions
diff --git a/libempathy-gtk/empathy-contact-selector.c b/libempathy-gtk/empathy-contact-selector.c
index df5384ace..466b590a3 100644
--- a/libempathy-gtk/empathy-contact-selector.c
+++ b/libempathy-gtk/empathy-contact-selector.c
@@ -320,7 +320,7 @@ empathy_contact_selector_new (EmpathyContactList *contact_list)
}
EmpathyContact *
-empathy_contact_selector_get_selected (EmpathyContactSelector *selector)
+empathy_contact_selector_dup_selected (EmpathyContactSelector *selector)
{
EmpathyContactSelectorPriv *priv = GET_PRIV (selector);
EmpathyContact *contact = NULL;
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