[evolution-couchdb] Make it compile and work with evolution >= 2.30
- From: Rodrigo Moya <rodrigo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-couchdb] Make it compile and work with evolution >= 2.30
- Date: Thu, 20 May 2010 15:48:49 +0000 (UTC)
commit d5515a695375dc6392f15517a208c069c15adc33
Author: Rodrigo Moya <rodrigo gnome-db org>
Date: Thu May 20 17:48:44 2010 +0200
Make it compile and work with evolution >= 2.30
plugins/couchdb-contacts-source.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/plugins/couchdb-contacts-source.c b/plugins/couchdb-contacts-source.c
index de152a2..f234d7a 100644
--- a/plugins/couchdb-contacts-source.c
+++ b/plugins/couchdb-contacts-source.c
@@ -293,7 +293,11 @@ plugin_couchdb_contacts (EPlugin *epl, EConfigHookItemFactoryData *data)
}
gint
+#if EDS_MINOR_VERSION < 30
e_plugin_lib_enable (EPluginLib *ep, gint enable)
+#else
+e_plugin_lib_enable (EPlugin *ep, gint enable)
+#endif
{
if (enable)
ensure_couchdb_contacts_source_group ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]