From: Christian H. <ch...@us...> - 2004-05-27 18:43:33
|
Update of /cvsroot/gaim/gaim/plugins/gevolution In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26769/plugins/gevolution Modified Files: gevo-util.c Log Message: Evolution bumps the version just before release, and libebook is part of evolution-data-server, so we can't check what version we're using to determine if we're calling the new libebook API or not. This should work around that. Index: gevo-util.c =================================================================== RCS file: /cvsroot/gaim/gaim/plugins/gevolution/gevo-util.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -p -r1.3 -r1.4 --- gevo-util.c 23 May 2004 22:43:36 -0000 1.3 +++ gevo-util.c 27 May 2004 18:43:16 -0000 1.4 @@ -135,7 +135,8 @@ gevo_load_addressbook(EBook **book, GErr g_return_val_if_fail(book != NULL, FALSE); -#if EBOOK_CHECK_VERSION(0, 0, 93) +/* #if EBOOK_CHECK_VERSION(0, 0, 94) */ +#ifdef LIBEBOOK_NEW_API *book = e_book_new_system_addressbook(NULL); if (book != NULL) |