diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-01-10 00:15:27 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@src.gnome.org> | 2009-01-10 00:15:27 +0800 |
commit | eba71b838f543c7dd9390e74911526cf3d48fa26 (patch) | |
tree | 45def98b25cf84c2defd71c79bdb6c00d8137cb5 /libempathy/empathy-dispatch-operation.c | |
parent | 0e114008b2603eb4dcceb180d5da896eb19be97d (diff) | |
download | gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.gz gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.bz2 gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.lz gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.xz gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.tar.zst gsoc2013-empathy-eba71b838f543c7dd9390e74911526cf3d48fa26.zip |
Make the dispatch operation _get_ functions not return a ref
Signed-off-by: Sjoerd Simons <sjoerd.simons@collabora.co.uk>
svn path=/trunk/; revision=2188
Diffstat (limited to 'libempathy/empathy-dispatch-operation.c')
-rw-r--r-- | libempathy/empathy-dispatch-operation.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/libempathy/empathy-dispatch-operation.c b/libempathy/empathy-dispatch-operation.c index c623dbfd2..def9e43e1 100644 --- a/libempathy/empathy-dispatch-operation.c +++ b/libempathy/empathy-dispatch-operation.c @@ -526,7 +526,7 @@ empathy_dispatch_operation_get_channel (EmpathyDispatchOperation *operation) priv = GET_PRIV (operation); - return TP_CHANNEL (g_object_ref (priv->channel)); + return priv->channel; } GObject * @@ -539,9 +539,6 @@ empathy_dispatch_operation_get_channel_wrapper ( priv = GET_PRIV (operation); - if (priv->channel_wrapper != NULL) - g_object_ref (priv->channel_wrapper); - return priv->channel_wrapper; } |