[empathy: 51/99] Keep a ref to our handler instance
- From: Emilio Pozuelo Monfort <epm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy: 51/99] Keep a ref to our handler instance
- Date: Thu, 9 Jun 2011 09:53:38 +0000 (UTC)
commit 8cbd6a5c6addfd360bdd274ac60e3c035b2ebc9b
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 c2c408d..3c6fd79 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]