diff options
author | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-22 19:12:19 +0800 |
---|---|---|
committer | Jonny Lamb <jonny.lamb@collabora.co.uk> | 2009-04-22 19:42:01 +0800 |
commit | 5f6a57093aa93d8bcf4cee001adacaa91d4198c7 (patch) | |
tree | 76564eed5c2fdc600d3301efeae795cdef5807b4 | |
parent | 5303246bdec46980c2a447e77759f4c107967bca (diff) | |
download | gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar.gz gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar.bz2 gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar.lz gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar.xz gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.tar.zst gsoc2013-empathy-5f6a57093aa93d8bcf4cee001adacaa91d4198c7.zip |
Remove g_object_ref from empathy_dispatch_operation_get_tp_connection. Fixes #579780
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r-- | libempathy/empathy-dispatch-operation.c | 2 | ||||
-rw-r--r-- | libempathy/empathy-dispatcher.c | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index 8f6fffe4e..cfe111181 100644 --- a/libempathy/empathy-dispatch-operation.c +++ b/libempathy/empathy-dispatch-operation.c @@ -587,7 +587,7 @@ empathy_dispatch_operation_get_tp_connection ( priv = GET_PRIV (operation); - return g_object_ref (priv->connection); + return priv->connection; } TpChannel * diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c index 5245bd289..c8a0f9e60 100644 --- a/libempathy/empathy-dispatcher.c +++ b/libempathy/empathy-dispatcher.c @@ -353,7 +353,6 @@ dispatch_operation_claimed_cb (EmpathyDispatchOperation *operation, connection = empathy_dispatch_operation_get_tp_connection (operation); cd = g_hash_table_lookup (priv->connections, connection); g_assert (cd != NULL); - g_object_unref (G_OBJECT (connection)); object_path = empathy_dispatch_operation_get_object_path (operation); @@ -397,7 +396,6 @@ dispatch_operation_ready_cb (EmpathyDispatchOperation *operation, connection = empathy_dispatch_operation_get_tp_connection (operation); cd = g_hash_table_lookup (priv->connections, connection); g_assert (cd != NULL); - g_object_unref (G_OBJECT (connection)); g_object_ref (operation); g_object_ref (dispatcher); |