[tracker/tracker-0.8] ifdef is sufficient, so use that



commit ba89de801d667c6d265eea6f858714a98c4add41
Author: Michael Biebl <biebl debian org>
Date:   Tue Apr 6 12:43:55 2010 +0200

    ifdef is sufficient, so use that

 src/plugins/evolution/tracker-evolution-plugin.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/evolution/tracker-evolution-plugin.c b/src/plugins/evolution/tracker-evolution-plugin.c
index f924033..49a864f 100644
--- a/src/plugins/evolution/tracker-evolution-plugin.c
+++ b/src/plugins/evolution/tracker-evolution-plugin.c
@@ -71,7 +71,7 @@
 #include <libedataserver/e-account.h>
 #include <libedataserver/e-account-list.h>
 
-#if HAVE_EDS_2_29_1
+#ifdef HAVE_EDS_2_29_1
 #include <e-util/e-account-utils.h>
 #endif
 
@@ -2288,7 +2288,7 @@ tracker_evolution_plugin_init (TrackerEvolutionPlugin *plugin)
 	                         G_TYPE_STRING, G_TYPE_STRING, G_TYPE_STRING,
 	                         G_TYPE_INVALID);
 
-#if HAVE_EDS_2_29_1
+#ifdef HAVE_EDS_2_29_1
 	priv->accounts = g_object_ref (e_get_account_list ());
 #else
 	priv->accounts = g_object_ref (mail_config_get_accounts ());



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]