[nautilus-sendto/gnome-3-0] evolution: Update for ancient API change
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [nautilus-sendto/gnome-3-0] evolution: Update for ancient API change
- Date: Wed, 14 Mar 2012 16:20:25 +0000 (UTC)
commit 194bc97160ab6e2ffad501b7cfc9f2ae2ad0ca2e
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 14 17:18:13 2012 +0100
evolution: Update for ancient API change
Apparently e_book_async_get_book_view() has returned TRUE if
the callback was going to be called for ages. We didn't get told.
src/plugins/evolution/e-contact-entry.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/evolution/e-contact-entry.c b/src/plugins/evolution/e-contact-entry.c
index dc8e2e3..35557ab 100644
--- a/src/plugins/evolution/e-contact-entry.c
+++ b/src/plugins/evolution/e-contact-entry.c
@@ -410,7 +410,7 @@ entry_changed_cb (GtkEditable *editable, gpointer user_data)
if (!lookup->open)
continue;
- if (e_book_async_get_book_view (lookup->book, query, NULL, 11, (EBookBookViewCallback)bookview_cb, lookup) != 0) {
+ if (e_book_async_get_book_view (lookup->book, query, NULL, 11, (EBookBookViewCallback)bookview_cb, lookup) == FALSE) {
g_signal_emit (entry, signals[ERROR], 0, _("Cannot create searchable view."));
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]