diff options
author | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-03-04 18:11:58 +0800 |
---|---|---|
committer | Chenthill Palanisamy <pchen@src.gnome.org> | 2006-03-04 18:11:58 +0800 |
commit | 15f1ed069f62259f545c86d253935afd9a968ba4 (patch) | |
tree | 9b6012244b816c7a35acb03291a055329704d3a4 /plugins/mail-to-task/mail-to-task.c | |
parent | d3614dccac2294544bb24b7575b1865ecbafe72c (diff) | |
download | gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar.gz gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar.bz2 gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar.lz gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar.xz gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.tar.zst gsoc2013-evolution-15f1ed069f62259f545c86d253935afd9a968ba4.zip |
fixes #330974.
svn path=/trunk/; revision=31637
Diffstat (limited to 'plugins/mail-to-task/mail-to-task.c')
-rw-r--r-- | plugins/mail-to-task/mail-to-task.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mail-to-task/mail-to-task.c b/plugins/mail-to-task/mail-to-task.c index 65261ccf46..7290b1a2f1 100644 --- a/plugins/mail-to-task/mail-to-task.c +++ b/plugins/mail-to-task/mail-to-task.c @@ -92,7 +92,7 @@ set_description (ECalComponent *comp, CamelMimeMessage *message) camel_object_unref (mem); /* convert to UTF-8 string */ - if (str && content->mime_type->params->value) + if (str && content->mime_type->params && content->mime_type->params->value) { convert_str = g_convert (str, strlen (str), "UTF-8", content->mime_type->params->value, @@ -221,7 +221,7 @@ convert_to_task (GPtrArray *uid_array, struct _CamelFolder *folder) GThread *thread = NULL; GError *error = NULL; - client = e_cal_new (source, E_CAL_SOURCE_TYPE_TODO); + client = auth_new_cal_from_source (source, E_CAL_SOURCE_TYPE_TODO); if (!client) { char *uri = e_source_get_uri (source); |