aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-vfolder.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-vfolder.c')
-rw-r--r--mail/mail-vfolder.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/mail/mail-vfolder.c b/mail/mail-vfolder.c
index ec3ac8881c..8642993ae2 100644
--- a/mail/mail-vfolder.c
+++ b/mail/mail-vfolder.c
@@ -255,7 +255,7 @@ vfolder_create_storage(EvolutionShellComponent *shell_component)
vfolder_storage = storage;
user = g_strdup_printf ("%s/vfolders.xml", evolution_dir);
- system = g_strdup_printf("%s/evolution/vfoldertypes.xml", EVOLUTION_DATADIR);
+ system = EVOLUTION_DATADIR "/evolution/vfoldertypes.xml";
context = vfolder_context_new();
printf("loading rules %s %s\n", system, user);
@@ -263,7 +263,6 @@ vfolder_create_storage(EvolutionShellComponent *shell_component)
g_warning("cannot load vfolders: %s\n", ((RuleContext *)context)->error);
}
g_free(user);
- g_free(system);
vfolder_refresh();
}