diff plugins/gevolution/gevo-util.c @ 9095:61b33ac58669

[gaim-migrate @ 9872] 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. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Thu, 27 May 2004 18:43:16 +0000
parents c307cf4c84d2
children d92ee4b0e44b
line wrap: on
line diff
--- a/plugins/gevolution/gevo-util.c	Thu May 27 14:51:38 2004 +0000
+++ b/plugins/gevolution/gevo-util.c	Thu May 27 18:43:16 2004 +0000
@@ -135,7 +135,8 @@
 
 	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)