diff plugins/gevolution/gevo-util.c @ 9352:cc2baf349805

[gaim-migrate @ 10160] Remove the hack that was needed before evolution-data-server 0.0.94's release to maintain compatibility with release and CVS. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Tue, 22 Jun 2004 21:04:33 +0000
parents d92ee4b0e44b
children a5ec9e73f46d
line wrap: on
line diff
--- a/plugins/gevolution/gevo-util.c	Tue Jun 22 19:09:24 2004 +0000
+++ b/plugins/gevolution/gevo-util.c	Tue Jun 22 21:04:33 2004 +0000
@@ -133,12 +133,10 @@
 
 	g_return_val_if_fail(book != NULL, FALSE);
 
-/* #if EBOOK_CHECK_VERSION(0, 0, 94) */
-#ifdef LIBEBOOK_NEW_API
+#if EBOOK_CHECK_VERSION(0, 0, 94)
 	*book = e_book_new_system_addressbook(NULL);
 
-	if (book != NULL)
-		result = e_book_open(*book, FALSE, NULL);
+	result = e_book_open(*book, FALSE, NULL);
 #else
 	*book = e_book_new();