Re: [Ekiga-devel-list] I need brains!



Julien Puydt a écrit :
sigc::bind_functor<0, sigc::bound_const_mem_functor2<void, sigc::signal2<void, gmref_ptr<Ekiga::Book>, gmref_ptr<Ekiga::Contact>, sigc::nil>, gmref_ptr<Ekiga::Book> const&, gmref_ptr<Ekiga::Contact> const&>, gmref_ptr<Evolution::Book>, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil, sigc::nil> >

I banged my head to the wall a few times and decided that was coming from those three lines in source-impl.h's template<typename BookType> void Ekiga::SourceImpl<BookType>::add_book (gmref_ptr<BookType> book) method :

add_connection (book, book->contact_added.connect (sigc::bind<0> (contact_added.make_slot (), book)));

add_connection (book, book->contact_removed.connect (sigc::bind<0> (contact_removed.make_slot (), book)));

add_connection (book, book->contact_updated.connect (sigc::bind<0> (contact_updated.make_slot (), book)));

because everytime we do a sigc:bind0 from a some_signal.make_slot() where some_signal is sigc::signal<void, gmref_ptr<Book>, gmref_ptr<Contact> >...

I'm still investigating, but it's getting hot.

Snark


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