aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2000-10-12 08:19:13 +0800
committerIain Holmes <iain@src.gnome.org>2000-10-12 08:19:13 +0800
commit25c8b2416833c6c95a57b7f1f8402d2e280892a1 (patch)
tree026003b013d19794d0bd44f29b15c1f4c007105d /calendar/gui/calendar-component.c
parentd1f748eba89569b928a242c386a9f49eda5b2886 (diff)
downloadgsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar.gz
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar.bz2
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar.lz
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar.xz
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.tar.zst
gsoc2013-evolution-25c8b2416833c6c95a57b7f1f8402d2e280892a1.zip
Disable executive-summary
svn path=/trunk/; revision=5874
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index d45db48584..e5fb4c65a0 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -24,7 +24,9 @@
#include <config.h>
#include <bonobo.h>
#include "evolution-shell-component.h"
+#ifdef WANT_THE_EXECUTIVE_SUMMARY
#include <executive-summary/evolution-services/executive-summary-component.h>
+#endif
#include "component-factory.h"
#include "control-factory.h"
#include "calendar-config.h"
@@ -108,6 +110,7 @@ factory_fn (BonoboGenericFactory *factory,
return BONOBO_OBJECT (shell_component);
}
+#ifdef WANT_THE_EXECUTIVE_SUMMARY
static BonoboObject *
summary_fn (BonoboGenericFactory *factory,
void *closure)
@@ -120,6 +123,7 @@ summary_fn (BonoboGenericFactory *factory,
evolution_dir);
return BONOBO_OBJECT (summary_component);
}
+#endif
void
@@ -129,11 +133,15 @@ component_factory_init (void)
return;
factory = bonobo_generic_factory_new (COMPONENT_FACTORY_ID, factory_fn, NULL);
- summary_factory = bonobo_generic_factory_new (SUMMARY_FACTORY_ID, summary_fn, NULL);
+#ifdef WANT_THE_EXECUTIVE_SUMMARY
+ summary_factory = bonobo_generic_factory_new (SUMMARY_FACTORY_ID, summary_fn, NULL);
+#endif
if (factory == NULL)
g_error ("Cannot initialize Evolution's calendar component.");
+#ifdef WANT_THE_EXECUTIVE_SUMMARY
if (summary_factory == NULL)
g_error ("Cannot initialize Evolution's calendar summary component.");
+#endif
}