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-tp-chat.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-tp-chat.c')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 57e3277eb..bfcdd1a4c 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1053,7 +1053,7 @@ tp_chat_set_property (GObject *object, switch (param_id) { case PROP_CHANNEL: - priv->channel = g_object_ref (g_value_get_object (value)); + priv->channel = g_value_dup_object (value); break; default: G_OBJECT_WARN_INVALID_PROPERTY_ID (object, param_id, pspec); @@ -1187,6 +1187,7 @@ empathy_tp_chat_close (EmpathyTpChat *chat) { We loose the ordering of sent messages though */ g_signal_handlers_disconnect_by_func (priv->channel, tp_chat_invalidated_cb, chat); + tp_cli_channel_call_close (priv->channel, -1, tp_chat_async_cb, "closing channel", NULL, NULL); |