pidgin/plugins/gevolution/gevolution.c

changeset 27706
ae1893256821
parent 27355
90ca0684a127
child 29935
d28b5dcc7554
equal deleted inserted replaced
27705:06cdb9c6366f 27706:ae1893256821
296 static gboolean 296 static gboolean
297 load_timeout(gpointer data) 297 load_timeout(gpointer data)
298 { 298 {
299 PurplePlugin *plugin = (PurplePlugin *)data; 299 PurplePlugin *plugin = (PurplePlugin *)data;
300 EBookQuery *query; 300 EBookQuery *query;
301 GError *err = NULL;
301 302
302 timer = 0; 303 timer = 0;
303 304
304 /* Maybe this is it? */ 305 /* Maybe this is it? */
305 if (!gevo_load_addressbook(NULL, &book, NULL)) 306 if (!gevo_load_addressbook(NULL, &book, &err))
307 {
308 purple_debug_error("evolution",
309 "Error retrieving addressbook: %s\n", err->message);
310 g_error_free(err);
306 return FALSE; 311 return FALSE;
312 }
307 313
308 query = e_book_query_any_field_contains(""); 314 query = e_book_query_any_field_contains("");
309 315
310 /* Is it this? */ 316 /* Is it this? */
311 book_view_tag = e_book_async_get_book_view(book, query, NULL, -1, 317 book_view_tag = e_book_async_get_book_view(book, query, NULL, -1,

mercurial