aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-tools.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2000-08-11 04:26:41 +0800
committerDan Winship <danw@src.gnome.org>2000-08-11 04:26:41 +0800
commit44b1cb734d895fc1a287a651101a6446af261697 (patch)
tree171e87db2b04a719e72b2e7a787199431ac994af /mail/mail-tools.h
parent5bf17131df95ad49d7a98768b05177092ad2a618 (diff)
downloadgsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.tar.gz
gsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.tar.zst
gsoc2013-evolution-44b1cb734d895fc1a287a651101a6446af261697.zip
Add a "gboolean create" argument to pass to camel_store_get_folder.
* mail-tools.c (mail_tool_get_folder_from_urlname): Add a "gboolean create" argument to pass to camel_store_get_folder. * mail-ops.c (do_create_folder, do_setup_draftbox): * mail-local.c (mail_tool_local_uri_to_folder): * mail-vfolder.c (vfolder_uri_to_folder): Add create flag to mail_tool_get_folder_from_urlname calls. svn path=/trunk/; revision=4702
Diffstat (limited to 'mail/mail-tools.h')
-rw-r--r--mail/mail-tools.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/mail-tools.h b/mail/mail-tools.h
index 03b2af8a9f..e9db4fceb3 100644
--- a/mail/mail-tools.h
+++ b/mail/mail-tools.h
@@ -33,7 +33,8 @@ void mail_tool_camel_lock_down (void);
/* Get a CamelFolder from a root url and a foldername (uses the global session)*/
CamelFolder *
-mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name, CamelException *ex);
+mail_tool_get_folder_from_urlname (const gchar *url, const gchar *name,
+ gboolean create, CamelException *ex);
/* Get the url for the local inbox */
gchar *mail_tool_get_local_inbox_url (void);