[ekiga] Made loudmouth simple chats really close
- From: Julien Puydt <jpuydt src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Made loudmouth simple chats really close
- Date: Tue, 15 Dec 2009 20:56:09 +0000 (UTC)
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]