aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-component.c
diff options
context:
space:
mode:
authorSimon Zheng <simon.zheng@sun.com>2006-01-10 16:10:30 +0800
committerHarry Lu <haip@src.gnome.org>2006-01-10 16:10:30 +0800
commit3e82887a540bab50ee5e15eb4bc7e143e5bb34f1 (patch)
treef7a632d980d0b7824fbfb4ce9cf940af1f10a257 /mail/mail-component.c
parente459ad918e6453c8a0be1415a22311bdeabb06a8 (diff)
downloadgsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.tar.gz
gsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.tar.zst
gsoc2013-evolution-3e82887a540bab50ee5e15eb4bc7e143e5bb34f1.zip
Use e_util_mkdir_hier() instead of e_mkdir_hier().
2006-01-10 Simon Zheng <simon.zheng@sun.com> * em-composer-utils.c: * em-folder-tree-model.c: (em_folder_tree_model_save_state): * em-format-html.c: * em-migrate.c: (cp_r), (em_migrate_folder), (em_migrate_pop_uid_caches_1_4), (em_migrate_folder_expand_state_1_4), (em_migrate_folder_view_settings_1_4), (em_migrate_imap_cmeta_1_4), (em_migrate_1_4), (emm_setup_initial), (em_migrate): * em-popup.c: * em-utils.c: (em_utils_save_part_to_file): * mail-component.c: (mail_component_init): * mail-config.c: * mail-folder-cache.c: * mail-mt.c: * mail-ops.c: * mail-tools.c: (mail_tool_get_local_movemail_path): Use e_util_mkdir_hier() instead of e_mkdir_hier(). Use e_util_strstrcase() instead of e_strstrcasea(). use e_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_filename_make_safe() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. use e_utf8_strftime() in evolution-data-server/ libedataserver/e-data-server-util.c instead of the copy in evolution/e-util/e-util.c. svn path=/trunk/; revision=31118
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r--mail/mail-component.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c
index 96285c997a..bfedb644ec 100644
--- a/mail/mail-component.c
+++ b/mail/mail-component.c
@@ -35,6 +35,7 @@
#include <fcntl.h>
#include <errno.h>
+#include <libedataserver/e-data-server-util.h>
#include "em-utils.h"
#include "em-composer-utils.h"
#include "em-format.h"
@@ -1086,7 +1087,7 @@ mail_component_init (MailComponent *component)
*p++ = '/';
}
#endif
- if (camel_mkdir (priv->base_directory, 0777) == -1 && errno != EEXIST)
+ if (e_util_mkdir_hier (priv->base_directory, 0777) == -1 && errno != EEXIST)
abort ();
priv->model = em_folder_tree_model_new (priv->base_directory);