Folks: ignore known warnings
folks prints some output when disabling backends which we don't want to show as SyncEvolution output.
This commit is contained in:
parent
d986719845
commit
7e3318db91
|
@ -24,6 +24,7 @@
|
|||
#include <boost/bind.hpp>
|
||||
#include "test.h"
|
||||
#include <syncevo/BoostHelper.h>
|
||||
#include <syncevo/LogRedirect.h>
|
||||
|
||||
#include <boost/ptr_container/ptr_vector.hpp>
|
||||
|
||||
|
@ -585,6 +586,10 @@ void IndividualAggregator::init(boost::shared_ptr<IndividualAggregator> &self)
|
|||
m_backendStore =
|
||||
FolksBackendStoreCXX::steal(folks_backend_store_dup());
|
||||
|
||||
// Ignore some known harmless messages from folks.
|
||||
LogRedirect::addIgnoreError("Error preparing Backend 'ofono'");
|
||||
LogRedirect::addIgnoreError("Error preparing Backend 'telepathy'");
|
||||
|
||||
// Have to hard-code the list of known backends that we don't want.
|
||||
SYNCEVO_GLIB_CALL_ASYNC(folks_backend_store_disable_backend,
|
||||
boost::bind(logResult, (const GError *)NULL,
|
||||
|
|
Loading…
Reference in a new issue