diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 23:26:58 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-02-19 23:26:58 +0800 |
commit | 998ef19cf8a2e546208d1fb0a835032a7e07e543 (patch) | |
tree | efc37d5e8a3a2b3084a8aa2406890597417440b2 /libempathy | |
parent | 6e6f54464f4fe105bbda956699a6fc130c72b8d0 (diff) | |
download | gsoc2013-empathy-998ef19cf8a2e546208d1fb0a835032a7e07e543.tar.gz gsoc2013-empathy-998ef19cf8a2e546208d1fb0a835032a7e07e543.tar.zst gsoc2013-empathy-998ef19cf8a2e546208d1fb0a835032a7e07e543.zip |
Introduce empathy_tp_chat_leave
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-tp-chat.c | 6 | ||||
-rw-r--r-- | libempathy/empathy-tp-chat.h | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/libempathy/empathy-tp-chat.c b/libempathy/empathy-tp-chat.c index 65b4926c6..0b19a6680 100644 --- a/libempathy/empathy-tp-chat.c +++ b/libempathy/empathy-tp-chat.c @@ -1804,3 +1804,9 @@ empathy_tp_chat_can_add_contact (EmpathyTpChat *self) tp_proxy_has_interface_by_id (priv->channel, TP_IFACE_QUARK_CHANNEL_INTERFACE_GROUP);; } + +void +empathy_tp_chat_leave (EmpathyTpChat *self) +{ + empathy_tp_chat_close (self); +} diff --git a/libempathy/empathy-tp-chat.h b/libempathy/empathy-tp-chat.h index f0a4caa87..37d6d68f9 100644 --- a/libempathy/empathy-tp-chat.h +++ b/libempathy/empathy-tp-chat.h @@ -99,6 +99,8 @@ gboolean empathy_tp_chat_provide_password_finish (EmpathyTpChat *chat, GError **error); gboolean empathy_tp_chat_can_add_contact (EmpathyTpChat *self); +void empathy_tp_chat_leave (EmpathyTpChat *chat); + G_END_DECLS #endif /* __EMPATHY_TP_CHAT_H__ */ |