[evolution-data-server/openismus-work-3-8] EDataBook: Changed for EBookBackend set_locale() API change
- From: Tristan Van Berkom <tvb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/openismus-work-3-8] EDataBook: Changed for EBookBackend set_locale() API change
- Date: Sun, 1 Dec 2013 09:30:20 +0000 (UTC)
commit c7299ff5a1775bc611ddddb37020c429d8d8c444
Author: Tristan Van Berkom <tristanvb openismus com>
Date: Fri Nov 29 21:27:15 2013 +0900
EDataBook: Changed for EBookBackend set_locale() API change
addressbook/libedata-book/e-data-book.c | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/addressbook/libedata-book/e-data-book.c b/addressbook/libedata-book/e-data-book.c
index ab3c396..a27a671 100644
--- a/addressbook/libedata-book/e-data-book.c
+++ b/addressbook/libedata-book/e-data-book.c
@@ -1248,7 +1248,7 @@ data_book_handle_get_cursor_cb (EDBusAddressBook *interface,
/*
* Set the query, if any (no query is allowed)
*/
- if (!e_data_book_cursor_set_sexp (cursor, in_query, &error)) {
+ if (!e_data_book_cursor_set_sexp (cursor, in_query, NULL, &error)) {
e_book_backend_delete_cursor (backend, cursor, NULL);
g_dbus_method_invocation_take_error (invocation, error);
@@ -2038,7 +2038,10 @@ data_book_locale_changed (GObject *object,
locale = e_dbus_locale1_get_locale (locale_proxy);
interpreted_locale = data_book_interpret_locale (locale);
- e_book_backend_set_locale (backend, interpreted_locale);
+ /* XXX This needs work, the whole handling should be done
+ * by the singleton EDataBookFactory, and handle errors well
+ */
+ e_book_backend_set_locale (backend, interpreted_locale, NULL, NULL);
e_dbus_address_book_set_locale (book->priv->dbus_interface, interpreted_locale);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]