aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui')
-rw-r--r--calendar/gui/calendar-component.c3
-rw-r--r--calendar/gui/component-factory.c3
-rw-r--r--calendar/gui/main.c2
3 files changed, 2 insertions, 6 deletions
diff --git a/calendar/gui/calendar-component.c b/calendar/gui/calendar-component.c
index 5954cf88d9..786aa70003 100644
--- a/calendar/gui/calendar-component.c
+++ b/calendar/gui/calendar-component.c
@@ -52,7 +52,6 @@
#define CREATE_EVENT_ID "event"
#define CREATE_TASK_ID "task"
-static BonoboGenericFactory *factory = NULL;
char *evolution_dir;
static const EvolutionShellComponentFolderType folder_types[] = {
@@ -335,8 +334,6 @@ owner_set_cb (EvolutionShellComponent *shell_component,
evolution_dir = g_strdup (evolution_homedir);
- calendar_config_init ();
-
if (!migrated) {
tasks_migrate ();
migrated = TRUE;
diff --git a/calendar/gui/component-factory.c b/calendar/gui/component-factory.c
index 5954cf88d9..786aa70003 100644
--- a/calendar/gui/component-factory.c
+++ b/calendar/gui/component-factory.c
@@ -52,7 +52,6 @@
#define CREATE_EVENT_ID "event"
#define CREATE_TASK_ID "task"
-static BonoboGenericFactory *factory = NULL;
char *evolution_dir;
static const EvolutionShellComponentFolderType folder_types[] = {
@@ -335,8 +334,6 @@ owner_set_cb (EvolutionShellComponent *shell_component,
evolution_dir = g_strdup (evolution_homedir);
- calendar_config_init ();
-
if (!migrated) {
tasks_migrate ();
migrated = TRUE;
diff --git a/calendar/gui/main.c b/calendar/gui/main.c
index 179f874173..56b8550621 100644
--- a/calendar/gui/main.c
+++ b/calendar/gui/main.c
@@ -115,6 +115,8 @@ main (int argc, char **argv)
G_LOG_LEVEL_WARNING);
#endif
+ calendar_config_init ();
+
control_factory_init ();
component_factory_init ();
itip_control_factory_init ();