aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/calendar-component.c
diff options
context:
space:
mode:
authorIain Holmes <iain@src.gnome.org>2001-06-09 04:47:52 +0800
committerIain Holmes <iain@src.gnome.org>2001-06-09 04:47:52 +0800
commitd09d4962997e9056652815aab81f49311a6a59a8 (patch)
tree807d49e73be441e0332b67f889b38c0b518f74ef /calendar/gui/calendar-component.c
parentda6c1c4d2ef41c60130e4de31160ee8107227588 (diff)
downloadgsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar.gz
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar.bz2
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar.lz
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar.xz
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.tar.zst
gsoc2013-evolution-d09d4962997e9056652815aab81f49311a6a59a8.zip
Committing the new My Evolution.
svn path=/trunk/; revision=10163
Diffstat (limited to 'calendar/gui/calendar-component.c')
-rw-r--r--calendar/gui/calendar-component.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 8dae53c707..da68cabf05 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -29,13 +29,12 @@
#include <libgnomevfs/gnome-vfs-uri.h>
#include <libgnomevfs/gnome-vfs-ops.h>
+#include <bonobo/bonobo-generic-factory.h>
#include "evolution-shell-component.h"
-#include <executive-summary/evolution-services/executive-summary-component.h>
#include "component-factory.h"
#include "tasks-control-factory.h"
#include "control-factory.h"
#include "calendar-config.h"
-#include "calendar-summary.h"
#include "tasks-control.h"
#include "tasks-migrate.h"
@@ -44,7 +43,6 @@
#define COMPONENT_FACTORY_ID "OAFIID:GNOME_Evolution_Calendar_ShellComponentFactory"
static BonoboGenericFactory *factory = NULL;
-static BonoboGenericFactory *summary_factory = NULL;
char *evolution_dir;
static const EvolutionShellComponentFolderType folder_types[] = {
@@ -332,16 +330,12 @@ factory_fn (BonoboGenericFactory *factory,
void
component_factory_init (void)
{
- if (factory != NULL && factory != NULL)
+ if (factory != NULL)
return;
factory = bonobo_generic_factory_new (COMPONENT_FACTORY_ID, factory_fn, NULL);
- summary_factory = calendar_summary_factory_init ();
-
if (factory == NULL)
g_error ("Cannot initialize Evolution's calendar component.");
- if (summary_factory == NULL)
- g_error ("Cannot initialize Evolution's calendar summary component.");
}