[telepathy-gabble/master] SearchChannel: emit Closed if necessary in finalizer

Will Thompson will.thompson at collabora.co.uk
Wed Aug 26 09:21:45 PDT 2009


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

diff --git a/src/search-channel.c b/src/search-channel.c
index 6eae185..d66324c 100644
--- a/src/search-channel.c
+++ b/src/search-channel.c
@@ -149,6 +149,8 @@ gabble_search_channel_finalize (GObject *obj)
 {
   GabbleSearchChannel *chan = GABBLE_SEARCH_CHANNEL (obj);
 
+  ensure_closed (chan);
+
   g_free (chan->priv->server);
 }
 
-- 
1.5.6.5




More information about the telepathy-commits mailing list