diff options
| author | Ross Burton <ross@openedhand.com> | 2007-05-18 10:38:00 +0000 |
|---|---|---|
| committer | Ross Burton <rburton@src.gnome.org> | 2007-05-18 10:38:00 +0000 |
| commit | fa1a5ed07ae8387698025ce5d024a36e2d1500e2 (patch) | |
| tree | d50b606cb96560865b0db1e5abc7a230f6b48c72 | |
| parent | 4d5e11f1797d662a601de5f1606d0702def31dce (diff) | |
| download | evolution-data-server-fa1a5ed07ae8387698025ce5d024a36e2d1500e2.tar.gz | |
Tiny changes: disable debug output, make a warning more useful, and fix
2007-05-18 Ross Burton <ross@openedhand.com>
* backends/file/e-book-backend-file.c:
Tiny changes: disable debug output, make a warning more useful,
and fix some whitespace.
svn path=/trunk/; revision=7763
| -rw-r--r-- | addressbook/ChangeLog | 6 | ||||
| -rw-r--r-- | addressbook/backends/file/e-book-backend-file.c | 6 |
2 files changed, 9 insertions, 3 deletions
diff --git a/addressbook/ChangeLog b/addressbook/ChangeLog index 1aa752ffd..d2b928b05 100644 --- a/addressbook/ChangeLog +++ b/addressbook/ChangeLog @@ -1,6 +1,12 @@ 2007-05-18 Ross Burton <ross@openedhand.com> * backends/file/e-book-backend-file.c: + Tiny changes: disable debug output, make a warning more useful, + and fix some whitespace. + +2007-05-18 Ross Burton <ross@openedhand.com> + + * backends/file/e-book-backend-file.c: Don't duplicate the contact UID when modifying a contact. 2007-05-16 Jules Colding <colding@omesc.com> diff --git a/addressbook/backends/file/e-book-backend-file.c b/addressbook/backends/file/e-book-backend-file.c index cae1fe1f0..b6fae140b 100644 --- a/addressbook/backends/file/e-book-backend-file.c +++ b/addressbook/backends/file/e-book-backend-file.c @@ -53,7 +53,7 @@ #include "e-book-backend-file.h" -#define d(x) x +#define d(x) #define CHANGES_DB_SUFFIX ".changes.db" @@ -1359,7 +1359,7 @@ e_book_backend_file_sync (EBookBackend *backend) if (bf->priv->file_db) { db_error = bf->priv->file_db->sync (bf->priv->file_db, 0); if (db_error != 0) - g_warning ("db->sync failed with %d", db_error); + g_warning (G_STRLOC ": db->sync failed with %s", db_strerror (db_error)); } } @@ -1501,7 +1501,7 @@ e_book_backend_file_class_init (EBookBackendFileClass *klass) backend_class->stop_book_view = e_book_backend_file_stop_book_view; backend_class->cancel_operation = e_book_backend_file_cancel_operation; backend_class->set_mode = e_book_backend_file_set_mode; - backend_class->sync = e_book_backend_file_sync; + backend_class->sync = e_book_backend_file_sync; sync_class->remove_sync = e_book_backend_file_remove; sync_class->create_contact_sync = e_book_backend_file_create_contact; sync_class->remove_contacts_sync = e_book_backend_file_remove_contacts; |
