aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2011-02-24 23:25:54 +0800
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>2011-06-09 17:20:06 +0800
commit8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b (patch)
tree8d9be83df6b8a741b4e7715422e0700ef9a29a27 /src/empathy-event-manager.c
parentb99045fc699ced3076e6a16a8b8bbf015aaa5e23 (diff)
downloadgsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar.gz
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar.bz2
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar.lz
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar.xz
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.tar.zst
gsoc2013-empathy-8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b.zip
Keep a ref to our handler instance
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r--src/empathy-event-manager.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c
index c2c408dba..3c6fd7985 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1082,7 +1082,7 @@ approve_channels (TpSimpleApprover *approver,
TpyCallChannel *call = TPY_CALL_CHANNEL (channel);
const gchar *id;
- approval->handler_instance = G_OBJECT (call);
+ approval->handler_instance = g_object_ref (call);
id = tp_channel_get_identifier (channel);