diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-19 19:10:15 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2009-11-23 19:33:17 +0800 |
commit | 9da605b25b64e25bc6a1b7651d001ea451fbeac9 (patch) | |
tree | 9c0e15a2add682d8c723c56111cc20d862aeffe5 /src | |
parent | 250f2c784601f83fb5d0ccdd02d64d607ae0a385 (diff) | |
download | gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar.gz gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar.bz2 gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar.lz gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar.xz gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.tar.zst gsoc2013-empathy-9da605b25b64e25bc6a1b7651d001ea451fbeac9.zip |
event-manager: event_manager_ft_got_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 'src')
-rw-r--r-- | src/empathy-event-manager.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index c10802011..0992dd243 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -714,7 +714,7 @@ event_manager_ft_got_contact_cb (EmpathyTpContactFactory *factory, EventManagerApproval *approval = (EventManagerApproval *) user_data; char *header; - approval->contact = contact; + approval->contact = g_object_ref (contact); header = g_strdup_printf (_("Incoming file transfer from %s"), empathy_contact_get_name (approval->contact)); |