aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-persona-view.c2
1 files changed, 1 insertions, 1 deletions
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)