aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/e-tasks.c
diff options
context:
space:
mode:
Diffstat (limited to 'calendar/gui/e-tasks.c')
-rw-r--r--calendar/gui/e-tasks.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/calendar/gui/e-tasks.c b/calendar/gui/e-tasks.c
index 69e6ddaeb4..e69b2a4037 100644
--- a/calendar/gui/e-tasks.c
+++ b/calendar/gui/e-tasks.c
@@ -551,12 +551,15 @@ e_tasks_setup_menus (ETasks *tasks,
GalViewMenus *views;
GalViewFactory *factory;
ETableSpecification *spec;
+ char *dir;
collection = gal_view_collection_new();
- /* FIXME: Memory leak. */
+
+ dir = gnome_util_prepend_user_home ("/evolution/views/tasks/");
gal_view_collection_set_storage_directories (collection,
EVOLUTION_DATADIR "/evolution/views/tasks/",
- gnome_util_prepend_user_home ("/evolution/views/tasks/"));
+ dir);
+ g_free (dir);
spec = e_table_specification_new ();
e_table_specification_load_from_string (spec, e_calendar_table_get_spec());