Commit e5d60414 authored by Emmanuel Milou's avatar Emmanuel Milou
parents 17a8159d 004eb1ae
......@@ -324,6 +324,9 @@ init_eds ()
void
fill_books_data ()
{
#if EDS_CHECK_VERSION(3,5,3)
#warning FIXME ESource registry API is not supported yet
#else
ESourceList *source_list = e_source_list_new_for_gconf_default ("/apps/evolution/addressbook/sources");
if (source_list == NULL)
......@@ -369,6 +372,7 @@ fill_books_data ()
g_static_mutex_unlock(&books_data_mutex);
g_object_unref (source_list);
#endif
}
void
......@@ -423,6 +427,9 @@ search_async_by_contacts (const char *query, int max_results, SearchAsyncHandler
had->max_results_remaining = max_results;
had->equery = create_query (query, current_test, (AddressBook_Config *) (user_data));
#if EDS_CHECK_VERSION(3,5,3)
#warning FIXME: use EClient API, EBook API is deprecated
#else
EBook *book = e_book_new_from_uri(current_uri, NULL);
if (!book)
return;
......@@ -432,6 +439,7 @@ search_async_by_contacts (const char *query, int max_results, SearchAsyncHandler
#else
e_book_async_open(book, TRUE, eds_async_open_callback, had);
#endif
#endif
}
void
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment