summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Lamb <jonny.lamb@collabora.co.uk>2012-06-06 15:22:33 +0100
committerJonny Lamb <jonny.lamb@collabora.co.uk>2012-06-06 15:22:47 +0100
commite95db12e8998d233810e78b544b44862f89478e3 (patch)
tree2d4f864a1ea28504af424a694563bf4460e5e39f
parentef939874f0b344eec7b792b76b583066817b3ca8 (diff)
muc-channel: don't pretend to be connected after disposing
Signed-off-by: Jonny Lamb <jonny.lamb@collabora.co.uk>
-rw-r--r--src/muc-channel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/muc-channel.c b/src/muc-channel.c
index eff9f72e..270732d5 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);