[Telepathy-commits] [telepathy-salut/master] salut_muc_channel_dispose: fire the Closed signal if the channel is not closed yet
Guillaume Desmottes
guillaume.desmottes at collabora.co.uk
Thu Nov 27 03:00:00 PST 2008
---
src/salut-muc-channel.c | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/src/salut-muc-channel.c b/src/salut-muc-channel.c
index 7fbf1f2..cd0b229 100644
--- a/src/salut-muc-channel.c
+++ b/src/salut-muc-channel.c
@@ -924,6 +924,12 @@ salut_muc_channel_dispose (GObject *object)
priv->senders = NULL;
}
+ if (!priv->closed)
+ {
+ priv->closed = TRUE;
+ tp_svc_channel_emit_closed (self);
+ }
+
/* release any references held by the object here */
if (G_OBJECT_CLASS (salut_muc_channel_parent_class)->dispose)
G_OBJECT_CLASS (salut_muc_channel_parent_class)->dispose (object);
--
1.5.6.5
More information about the Telepathy-commits
mailing list