[ekiga] Made loudmouth simple chats really close



commit 51450c289a3d1d48b9adf9f0b3561f7ea3be9bcc
Author: Julien Puydt <jpuydt gnome org>
Date:   Mon Dec 14 12:58:14 2009 +0100

    Made loudmouth simple chats really close
    
    When there's no view, there's no chat!

 plugins/loudmouth/loudmouth-chat-simple.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/loudmouth/loudmouth-chat-simple.cpp b/plugins/loudmouth/loudmouth-chat-simple.cpp
index 0f884a1..d57c980 100644
--- a/plugins/loudmouth/loudmouth-chat-simple.cpp
+++ b/plugins/loudmouth/loudmouth-chat-simple.cpp
@@ -67,6 +67,8 @@ void
 LM::SimpleChat::disconnect (boost::shared_ptr<Ekiga::ChatObserver> observer)
 {
   observers.remove (observer);
+  if (observers.empty ())
+    removed ();
 }
 
 bool



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]