aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-05-08 00:22:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-05-08 06:48:38 +0800
commit4cfb84c573f21ca7519e24cff1c5742b715355c4 (patch)
tree92314a7c4ebb1b82f5bbe0e48856e23f06dcfc95 /plugins
parentc7b455de89487e606fc620420c1778f5e55afcac (diff)
downloadgsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.gz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.bz2
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.lz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.xz
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.tar.zst
gsoc2013-evolution-4cfb84c573f21ca7519e24cff1c5742b715355c4.zip
Whitespace and coding style cleanups.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/dbx-import/dbx-importer.c6
-rw-r--r--plugins/save-calendar/csv-format.c3
-rw-r--r--plugins/templates/templates.c12
3 files changed, 12 insertions, 9 deletions
diff --git a/plugins/dbx-import/dbx-importer.c b/plugins/dbx-import/dbx-importer.c
index 294b466263..47e4139cda 100644
--- a/plugins/dbx-import/dbx-importer.c
+++ b/plugins/dbx-import/dbx-importer.c
@@ -576,7 +576,8 @@ dbx_import_file (DbxImporter *m)
gint i;
gint missing = 0;
m->status_what = NULL;
- filename = g_filename_from_uri (((EImportTargetURI *)m->target)->uri_src, NULL, NULL);
+ filename = g_filename_from_uri (
+ ((EImportTargetURI *)m->target)->uri_src, NULL, NULL);
/* Destination folder, was set in our widget */
m->parent_uri = g_strdup (((EImportTargetURI *)m->target)->uri_dest);
@@ -600,7 +601,8 @@ dbx_import_file (DbxImporter *m)
camel_folder_freeze (folder);
- filename = g_filename_from_uri (((EImportTargetURI *)m->target)->uri_src, NULL, NULL);
+ filename = g_filename_from_uri (
+ ((EImportTargetURI *)m->target)->uri_src, NULL, NULL);
m->dbx_fd = g_open (filename, O_RDONLY, 0);
g_free (filename);
diff --git a/plugins/save-calendar/csv-format.c b/plugins/save-calendar/csv-format.c
index a91c813799..8bfec0df55 100644
--- a/plugins/save-calendar/csv-format.c
+++ b/plugins/save-calendar/csv-format.c
@@ -490,7 +490,8 @@ do_save_calendar_csv (FormatHandler *handler,
* if (temp_time) e_cal_component_free_icaltimetype (temp_time);
*
* Please uncomment and fix documentation if untrue
- * http://www.gnome.org/projects/evolution/developer-doc/libecal/ECalComponent.html
+ * http://www.gnome.org/projects/evolution/
+ * developer-doc/libecal/ECalComponent.html
* #e-cal-component-get-last-modified
*/
g_output_stream_write_all (stream, line->str, line->len, NULL, NULL, &error);
diff --git a/plugins/templates/templates.c b/plugins/templates/templates.c
index aa43d4921b..b97926adfe 100644
--- a/plugins/templates/templates.c
+++ b/plugins/templates/templates.c
@@ -471,7 +471,7 @@ e_plugin_lib_get_configure_widget (EPlugin *epl)
/* Case insensitive version of strstr */
static gchar *
-strstr_nocase (const gchar* haystack, const gchar *needle)
+strstr_nocase (const gchar * haystack, const gchar *needle)
{
/* When _GNU_SOURCE is available, use the nonstandard extension of libc */
#ifdef _GNU_SOURCE
@@ -606,7 +606,7 @@ fill_template (CamelMimeMessage *message, CamelMimePart *template)
}
}
} else
- message_part = CAMEL_MIME_PART (message);
+ message_part = CAMEL_MIME_PART (message);
/* Get content of the template */
stream = camel_stream_mem_new ();
@@ -655,7 +655,7 @@ fill_template (CamelMimeMessage *message, CamelMimePart *template)
camel_data_wrapper_decode_to_stream_sync (camel_medium_get_content (CAMEL_MEDIUM (message_part)), stream, NULL, NULL);
camel_stream_flush (stream, NULL, NULL);
byte_array = camel_stream_mem_get_byte_array (CAMEL_STREAM_MEM (stream));
- message_body = g_string_new_len ((gchar*)byte_array->data, byte_array->len);
+ message_body = g_string_new_len ((gchar *)byte_array->data, byte_array->len);
g_object_unref (stream);
if (template_html && !message_html) {
@@ -742,7 +742,7 @@ create_new_message (CamelFolder *folder, const gchar *uid, CamelMimeMessage *mes
if (ct && (camel_content_type_is (ct, "text", "html") ||
camel_content_type_is (ct, "text", "plain"))) {
- template_part = CAMEL_MIME_PART (template);
+ template_part = CAMEL_MIME_PART (template);
new_content_type = ct;
}
}
@@ -1144,8 +1144,8 @@ rebuild_template_menu (EShellWindow *shell_window)
static void
templates_folder_msg_changed_cb (CamelFolder *folder,
- CamelFolderChangeInfo *change_info,
- EShellWindow *shell_window)
+ CamelFolderChangeInfo *change_info,
+ EShellWindow *shell_window)
{
rebuild_template_menu (shell_window);
}