[almanah] Fix non-Evolution build



commit 739e88963d908b2fba77b1c2a293b9c267f73137
Author: Philip Withnall <philip tecnocode co uk>
Date:   Fri Jan 1 16:06:32 2010 +0000

    Fix non-Evolution build

 src/definition.c    |    4 ++++
 src/event-factory.h |    2 --
 2 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/definition.c b/src/definition.c
index cb22ad0..3c80854 100644
--- a/src/definition.c
+++ b/src/definition.c
@@ -35,13 +35,17 @@ typedef struct {
 #include "file.h"
 #include "note.h"
 #include "uri.h"
+#ifdef HAVE_EVO
 #include "contact.h"
+#endif /* HAVE_EVO */
 
 const DefinitionType definition_types[] = {
 	{ ALMANAH_DEFINITION_FILE, almanah_file_definition_get_type },
 	{ ALMANAH_DEFINITION_NOTE, almanah_note_definition_get_type },
 	{ ALMANAH_DEFINITION_URI, almanah_uri_definition_get_type },
+#ifdef HAVE_EVO
 	{ ALMANAH_DEFINITION_CONTACT, almanah_contact_definition_get_type }
+#endif /* HAVE_EVO */
 };
 
 static void almanah_definition_finalize (GObject *object);
diff --git a/src/event-factory.h b/src/event-factory.h
index 85258e3..0d7f8e2 100644
--- a/src/event-factory.h
+++ b/src/event-factory.h
@@ -28,9 +28,7 @@ G_BEGIN_DECLS
 
 typedef enum {
 	ALMANAH_EVENT_FACTORY_UNKNOWN = 0,
-#ifdef HAVE_EVO
 	ALMANAH_EVENT_FACTORY_CALENDAR,
-#endif /* HAVE_EVO */
 	ALMANAH_EVENT_FACTORY_F_SPOT
 } AlmanahEventFactoryType;
 



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