From eba71b838f543c7dd9390e74911526cf3d48fa26 Mon Sep 17 00:00:00 2001 From: Sjoerd Simons Date: Fri, 9 Jan 2009 16:15:27 +0000 Subject: Make the dispatch operation _get_ functions not return a ref Signed-off-by: Sjoerd Simons svn path=/trunk/; revision=2188 --- src/empathy-event-manager.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/empathy-event-manager.c') diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 53c3b84d9..3c7541c82 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -381,7 +381,6 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher, g_signal_connect (tp_chat, "message-received", G_CALLBACK (event_manager_chat_message_received_cb), approval); - g_object_unref (G_OBJECT (tp_chat)); } else if (!tp_strdiff (channel_type, TP_IFACE_CHANNEL_TYPE_STREAMED_MEDIA)) @@ -430,7 +429,6 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher, event_manager_add (manager, contact, EMPATHY_IMAGE_DOCUMENT_SEND, msg, approval, event_channel_process_func, NULL); - g_object_unref (channel); g_object_unref (factory); g_object_unref (account); } @@ -461,7 +459,6 @@ event_manager_approve_channel_cb (EmpathyDispatcher *dispatcher, EMPATHY_CONTACT_READY_NAME, event_manager_tube_got_contact_name_cb, approval); - g_object_unref (channel); g_object_unref (factory); g_object_unref (account); } -- cgit v1.2.3