From 250f2c784601f83fb5d0ccdd02d64d607ae0a385 Mon Sep 17 00:00:00 2001 From: Guillaume Desmottes Date: Thu, 19 Nov 2009 11:09:29 +0000 Subject: 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. --- libempathy/empathy-ft-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy/empathy-ft-handler.c') 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); } -- cgit v1.2.3