aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-19 19:09:29 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2009-11-23 19:33:17 +0800
commit250f2c784601f83fb5d0ccdd02d64d607ae0a385 (patch)
tree0a606c1226ec6ec7c8a78fc91903b73c12bad932 /libempathy
parent493d8e1b341aae18d3d94ff9fbe0187cd100a60d (diff)
downloadgsoc2013-empathy-250f2c784601f83fb5d0ccdd02d64d607ae0a385.tar.gz
gsoc2013-empathy-250f2c784601f83fb5d0ccdd02d64d607ae0a385.tar.zst
gsoc2013-empathy-250f2c784601f83fb5d0ccdd02d64d607ae0a385.zip
ft-handler: contact_factory_contact_cb: ref the contact
empathy_tp_contact_factory_get_from_handle is not supposed to give a reference to the callback.
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-ft-handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-ft-handler.c b/libempathy/empathy-ft-handler.c
index b05da94aa..7c8033d84 100644
--- a/libempathy/empathy-ft-handler.c
+++ b/libempathy/empathy-ft-handler.c
@@ -1219,7 +1219,7 @@ contact_factory_contact_cb (EmpathyTpContactFactory *factory,
return;
}
- priv->contact = contact;
+ priv->contact = g_object_ref (contact);
cb_data->callback (handler, NULL, cb_data->user_data);
}