[Telepathy-commits] [telepathy-gabble/master] muc-channel: fire the closed signal when disposing if needed
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Tue Sep 30 03:09:57 PDT 2008
---
src/muc-channel.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/muc-channel.c b/src/muc-channel.c
index 8b30e10..2053e69 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -1145,6 +1145,12 @@ gabble_muc_channel_dispose (GObject *object)
clear_join_timer (self);
clear_poll_timer (self);
+ if (!priv->closed)
+ {
+ priv->closed = TRUE;
+ tp_svc_channel_emit_closed (self);
+ }
+
if (G_OBJECT_CLASS (gabble_muc_channel_parent_class)->dispose)
G_OBJECT_CLASS (gabble_muc_channel_parent_class)->dispose (object);
}
--
1.5.6.5
More information about the Telepathy-commits
mailing list