[empathy/gnome-2-34] Keep a ref to our handler instance
- From: Sjoerd Simons <sjoerds src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy/gnome-2-34] Keep a ref to our handler instance
- Date: Thu, 24 Feb 2011 15:31:05 +0000 (UTC)
commit 1c6869ecc8569524ec2cd874b800bf4d153d31aa
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Thu Feb 24 15:25:54 2011 +0000
Keep a ref to our handler instance
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 f5e69e3..5b44345 100644
--- a/src/empathy-event-manager.c
+++ b/src/empathy-event-manager.c
@@ -1062,7 +1062,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]