[ekiga] History book: enforce the size limit in the constructor



commit b5cf6d9bc3ef28a9fa4c24c694489bb28b8057ed
Author: Julien Puydt <jpuydt free fr>
Date:   Tue Jul 3 18:18:29 2012 +0200

    History book: enforce the size limit in the constructor

 .../components/call-history/history-book.cpp       |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/components/call-history/history-book.cpp b/lib/engine/components/call-history/history-book.cpp
index 7996501..dde80a1 100644
--- a/lib/engine/components/call-history/history-book.cpp
+++ b/lib/engine/components/call-history/history-book.cpp
@@ -89,6 +89,8 @@ History::Book::Book (Ekiga::ServiceCore &_core) :
 
   call_core->missed_call.connect (boost::bind (&History::Book::on_missed_call, this, _1, _2));
   call_core->cleared_call.connect (boost::bind (&History::Book::on_cleared_call, this, _1, _2, _3));
+
+  enforce_size_limit ();
 }
 
 History::Book::~Book ()



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