aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/main.c')
-rw-r--r--calendar/gui/main.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 5c7a2bc08f..b9b504826b 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -42,14 +42,18 @@
#include "calendar-commands.h"
#include "calendar-config.h"
#include "component-factory.h"
+#include "e-comp-editor-registry.h"
#include "comp-editor-factory.h"
#include "control-factory.h"
#include "itip-control-factory.h"
#include "tasks-control-factory.h"
+ECompEditorRegistry *comp_editor_registry = NULL;
+
/* The component editor factory */
static CompEditorFactory *comp_editor_factory = NULL;
+
static void
init_bonobo (int argc, char **argv)
{
@@ -144,6 +148,8 @@ main (int argc, char **argv)
G_LOG_LEVEL_WARNING);
#endif
+ comp_editor_registry = E_COMP_EDITOR_REGISTRY (e_comp_editor_registry_new ());
+
calendar_config_init ();
control_factory_init ();