telepathy-salut: muc-channel: don't pretend to be connected after disposing

Jonny Lamb jonny at kemper.freedesktop.org
Tue Aug 28 06:30:47 PDT 2012


Module: telepathy-salut
Branch: master
Commit: e95db12e8998d233810e78b544b44862f89478e3
URL:    http://cgit.freedesktop.org/telepathy/telepathy-salut/commit/?id=e95db12e8998d233810e78b544b44862f89478e3

Author: Jonny Lamb <jonny.lamb at collabora.co.uk>
Date:   Wed Jun  6 15:22:33 2012 +0100

muc-channel: don't pretend to be connected after disposing

Signed-off-by: Jonny Lamb <jonny.lamb at collabora.co.uk>

---

 src/muc-channel.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/muc-channel.c b/src/muc-channel.c
index eff9f72..270732d 100644
--- a/src/muc-channel.c
+++ b/src/muc-channel.c
@@ -748,6 +748,8 @@ salut_muc_channel_dispose (GObject *object)
 
   priv->dispose_has_run = TRUE;
 
+  priv->connected = FALSE;
+
   g_signal_handlers_disconnect_matched (priv->muc_connection,
       G_SIGNAL_MATCH_DATA, 0, 0, NULL, NULL, self);
 



More information about the telepathy-commits mailing list