aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 17:12:00 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-08-13 17:12:00 +0800
commitd84c92507bd5398340faf5323965df92f97bb4e2 (patch)
tree7e88de318ec7c7472f1962ff0bdc4dfa561f9bb9 /libempathy-gtk
parent36d92a29445e3841c2c20befad039031fcd869bc (diff)
downloadgsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar.gz
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar.bz2
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar.lz
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar.xz
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.tar.zst
gsoc2013-empathy-d84c92507bd5398340faf5323965df92f97bb4e2.zip
persona-view: use empathy_contact_dup_from_tp_contact instead of empathy_contact_new
Diffstat (limited to 'libempathy-gtk')
-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)