diff options
author | Patrick Ohly <patrick.ohly@gmx.de> | 2008-07-21 16:53:49 +0000 |
---|---|---|
committer | Patrick Ohly <patrick.ohly@gmx.de> | 2008-07-21 16:53:49 +0000 |
commit | dc914f3d557a7120c45939f2f008ac3a62bb6510 (patch) | |
tree | bdadc965081de4cce778d6e747ce2ecf02153c2e | |
parent | 30d0bcff45476887bf17562efb90f97ca30d0671 (diff) |
disabled special support for X-OSSO-CONTACT-STATE because the property no longer is returned properly by libebook (SF #1947050)
git-svn-id: https://zeitsenke.de/svn/SyncEvolution/trunk@679 15ad00c4-1369-45f4-8270-35d70d36bdcd
-rw-r--r-- | debian/changelog | 8 | ||||
-rw-r--r-- | src/EvolutionContactSource.cpp | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/debian/changelog b/debian/changelog index 7cc0e37c..b5ae5125 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,11 @@ +syncevolution (1:0.7+0.8-beta1a) unstable; urgency=low + + * Disabled support for X-OSSO-CONTACT-STATE on Maemo: + it caused crashes because garbage strings were returned + by the Evolution libraries (SF #1947050) + + -- Patrick Ohly <patrick.ohly@gmx.de> Tue, 15 Jul 2008 22:15:00 +0200 + syncevolution (1:0.7+0.8-beta1) unstable; urgency=low * first beta of SyncEvolution 0.8 diff --git a/src/EvolutionContactSource.cpp b/src/EvolutionContactSource.cpp index 60b8aa20..ad6dfa3c 100644 --- a/src/EvolutionContactSource.cpp +++ b/src/EvolutionContactSource.cpp @@ -204,7 +204,7 @@ void EvolutionContactSource::beginSyncThrow(bool needAll, if (deleteLocal) { deleteItemsQuery.set( e_book_query_any_field_contains(""), "query" ); } -#ifdef ENABLE_MAEMO +#ifdef ENABLE_MAEMO_OSSO_CONTACT_STATE else { deleteItemsQuery.set( e_book_query_vcard_field_exists("X-OSSO-CONTACT-STATE"), "query" ); } @@ -220,7 +220,7 @@ void EvolutionContactSource::beginSyncThrow(bool needAll, for (;nextItem; nextItem = nextItem->next) { const char *uid = (const char *)e_contact_get_const(E_CONTACT(nextItem->data), E_CONTACT_UID); -#ifdef ENABLE_MAEMO +#ifdef ENABLE_MAEMO_OSSO_CONTACT_STATE if (!deleteLocal) { GList *nextState = (GList *)e_contact_get(E_CONTACT(nextItem->data), E_CONTACT_OSSO_CONTACT_STATE); |