aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--calendar/gui/calendar-component.c3
-rw-r--r--calendar/gui/component-factory.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index e5fb4c65a0..b30bae6a02 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -30,8 +30,9 @@
#include "component-factory.h"
#include "control-factory.h"
#include "calendar-config.h"
+#if WANT_THE_EXECUTIVE_SUMMARY
#include "calendar-summary.h"
-
+#endif
#define COMPONENT_FACTORY_ID "OAFIID:evolution-shell-component-factory:evolution-calendar:cba77062-1466-4aac-8ce7-b019eaf2e921"
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index e5fb4c65a0..b30bae6a02 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -30,8 +30,9 @@
#include "component-factory.h"
#include "control-factory.h"
#include "calendar-config.h"
+#if WANT_THE_EXECUTIVE_SUMMARY
#include "calendar-summary.h"
-
+#endif
#define COMPONENT_FACTORY_ID "OAFIID:evolution-shell-component-factory:evolution-calendar:cba77062-1466-4aac-8ce7-b019eaf2e921"