aboutsummaryrefslogtreecommitdiffstats
path: root/src/empathy-event-manager.c
diff options
context:
space:
mode:
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);