From d84c92507bd5398340faf5323965df92f97bb4e2 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Fri, 13 Aug 2010 11:12:00 +0200 Subject: persona-view: use empathy_contact_dup_from_tp_contact instead of empathy_contact_new --- libempathy-gtk/empathy-persona-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy-gtk/empathy-persona-view.c') diff --git a/libempathy-gtk/empathy-persona-view.c b/libempathy-gtk/empathy-persona-view.c index 384f08038..ee679ec74 100644 --- a/libempathy-gtk/empathy-persona-view.c +++ b/libempathy-gtk/empathy-persona-view.c @@ -162,7 +162,7 @@ query_tooltip_cb (EmpathyPersonaView *self, if (persona == NULL) goto OUT; - contact = empathy_contact_new (tpf_persona_get_contact ( + contact = empathy_contact_dup_from_tp_contact (tpf_persona_get_contact ( TPF_PERSONA (persona))); if (priv->tooltip_widget == NULL) -- cgit v1.2.3