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 /src/empathy-tube-dispatch.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 'src/empathy-tube-dispatch.c')
-rw-r--r-- | src/empathy-tube-dispatch.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/empathy-tube-dispatch.c b/src/empathy-tube-dispatch.c index 31775a6d3..0392b118d 100644 --- a/src/empathy-tube-dispatch.c +++ b/src/empathy-tube-dispatch.c @@ -161,8 +161,6 @@ empathy_tube_dispatch_constructed (GObject *object) tp_cli_dbus_daemon_call_name_has_owner (priv->dbus, -1, priv->bus_name, empathy_tube_dispatch_name_has_owner_cb, NULL, NULL, G_OBJECT (self)); - - g_object_unref (channel); return; failed: @@ -359,7 +357,6 @@ empathy_tube_do_dispatch (EmpathyTubeDispatch *self) channel = empathy_dispatch_operation_get_channel (priv->operation); - /* Create the proxy for the tube handler */ thandler = g_object_new (TP_TYPE_PROXY, "dbus-connection", tp_get_bus (), @@ -382,7 +379,6 @@ empathy_tube_do_dispatch (EmpathyTubeDispatch *self) object_path, handle_type, handle, empathy_tube_dispatch_handle_tube_cb, NULL, NULL, G_OBJECT (self)); - g_object_unref (channel); g_object_unref (thandler); g_object_unref (connection); g_free (object_path); @@ -416,7 +412,6 @@ empathy_tube_dispatch_handle (EmpathyTubeDispatch *tube_dispatch) g_free (msg); tp_cli_channel_call_close (channel, -1, NULL, NULL, NULL, NULL); - g_object_unref (channel); goto done; } |