aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-20 07:36:46 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-20 07:36:46 +0800
commit83a264cd7e6e28af8ea9ea3442693a2d409be458 (patch)
tree73000d9651cfd4f576a878e3564ed8f31eee3bb4 /mail
parent124a4f8913e924d1ca58575b1382630147fa6f3e (diff)
downloadgsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.gz
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.bz2
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.lz
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.xz
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.tar.zst
gsoc2013-evolution-83a264cd7e6e28af8ea9ea3442693a2d409be458.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail')
-rw-r--r--mail/e-mail-reader.c2
-rw-r--r--mail/em-folder-tree-model.c2
-rw-r--r--mail/mail-folder-cache.c2
-rw-r--r--mail/mail-mt.c2
-rw-r--r--mail/mail-mt.h2
5 files changed, 4 insertions, 6 deletions
diff --git a/mail/e-mail-reader.c b/mail/e-mail-reader.c
index 979279c963..6dae4ded13 100644
--- a/mail/e-mail-reader.c
+++ b/mail/e-mail-reader.c
@@ -819,7 +819,7 @@ action_mail_save_as_cb (GtkAction *action,
suggestion = g_strconcat (subject, ".mbox", NULL);
camel_message_info_free (info);
}
-
+
if (!suggestion) {
/* To Translators: This is a part of a suggested file name used when saving
a message or multiple messages to an mbox format, when the first message
diff --git a/mail/em-folder-tree-model.c b/mail/em-folder-tree-model.c
index 19697a4f6a..545c934805 100644
--- a/mail/em-folder-tree-model.c
+++ b/mail/em-folder-tree-model.c
@@ -428,7 +428,7 @@ em_folder_tree_model_set_unread_count (EMFolderTreeModel *model,
static void
folder_unread_updated_cb (MailFolderCache *cache, CamelStore *store,
- const gchar *full_name, int unread, gpointer user_data)
+ const gchar *full_name, gint unread, gpointer user_data)
{
EMFolderTreeModel *model = (EMFolderTreeModel*) user_data;
em_folder_tree_model_set_unread_count (model, store, full_name, unread);
diff --git a/mail/mail-folder-cache.c b/mail/mail-folder-cache.c
index 5bf5be4bbd..10a66a4f47 100644
--- a/mail/mail-folder-cache.c
+++ b/mail/mail-folder-cache.c
@@ -143,7 +143,6 @@ struct _store_info {
GQueue folderinfo_updates;
};
-
static void folder_changed(CamelObject *o, gpointer event_data, gpointer user_data);
static void folder_renamed(CamelObject *o, gpointer event_data, gpointer user_data);
static void folder_finalised(CamelObject *o, gpointer event_data, gpointer user_data);
@@ -1135,7 +1134,6 @@ mail_folder_cache_get_folder_info_flags (MailFolderCache *self, CamelFolder *fol
return fi.fi != NULL;
}
-
static void
mail_folder_cache_dispose (GObject *object)
{
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index df7b2e13b4..93120359c8 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -970,7 +970,7 @@ mail_operation_status (CamelOperation *op, const gchar *what, gint pc, gpointer
}
void
-mail_mt_set_backend (char *backend)
+mail_mt_set_backend (gchar *backend)
{
shell_builtin_backend = backend;
}
diff --git a/mail/mail-mt.h b/mail/mail-mt.h
index e8d046d9e4..7497c377eb 100644
--- a/mail/mail-mt.h
+++ b/mail/mail-mt.h
@@ -107,7 +107,7 @@ gint mail_async_event_emit(MailAsyncEvent *ea, mail_async_event_t type, MailAsyn
/* wait for all outstanding async events to complete */
gint mail_async_event_destroy(MailAsyncEvent *ea);
-void mail_mt_set_backend (char *backend);
+void mail_mt_set_backend (gchar *backend);
/* Call a function in the gui thread, wait for it to return, type is the marshaller to use */
typedef enum {