URI: 
       tekiga-4.0.1-crash-clear.patch - parlay - yet another gentoo overlay
  HTML git clone https://git.parazyd.org/parlay
   DIR Log
   DIR Files
   DIR Refs
   DIR README
       ---
       tekiga-4.0.1-crash-clear.patch (1074B)
       ---
            1 From ebfdaa0690c2f65dfe90714b02ff4f9bc9a3fa6d Mon Sep 17 00:00:00 2001
            2 From: Julien Puydt <jpuydt@free.fr>
            3 Date: Mon, 21 Jan 2013 15:54:38 +0100
            4 Subject: Made the call-history signal the changes first, then do some cleaning
            5  later -- fixes a crash on clear
            6 
            7 ---
            8  lib/engine/components/call-history/history-book.cpp | 5 ++++-
            9  1 file changed, 4 insertions(+), 1 deletion(-)
           10 
           11 diff --git a/lib/engine/components/call-history/history-book.cpp b/lib/engine/components/call-history/history-book.cpp
           12 index b110d4d..4db92fa 100644
           13 --- a/lib/engine/components/call-history/history-book.cpp
           14 +++ b/lib/engine/components/call-history/history-book.cpp
           15 @@ -177,6 +177,10 @@ History::Book::clear ()
           16  
           17    std::list<ContactPtr> old_contacts = ordered_contacts;
           18    ordered_contacts.clear ();
           19 +
           20 +  cleared ();
           21 +  updated ();
           22 +
           23    for (std::list<ContactPtr>::iterator iter = old_contacts.begin ();
           24         iter != old_contacts.end();
           25         ++iter)
           26 @@ -187,7 +191,6 @@ History::Book::clear ()
           27    xmlDocSetRootElement (doc.get (), root);
           28  
           29    save ();
           30 -  cleared ();
           31  }
           32  
           33  void
           34 -- 
           35 cgit v0.12
           36