aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-15 06:04:21 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-15 06:04:21 +0800
commit9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91 (patch)
tree2e1e96f33404781354c422a7e9beaf458ebeb655 /mail/importers
parent7e8f8bb9e5167b0219b48ab3e8062080d3740b0a (diff)
downloadgsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.gz
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.tar.zst
gsoc2013-evolution-9e4fcb29cf7f05c18f7fd34e318f9e795fa32e91.zip
** Remove trailing whitespace from source code.
2007-11-14 Matthew Barnes <mbarnes@redhat.com> ** Remove trailing whitespace from source code. svn path=/trunk/; revision=34537
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/elm-importer.c10
-rw-r--r--mail/importers/evolution-mbox-importer.c4
-rw-r--r--mail/importers/mail-importer.c26
-rw-r--r--mail/importers/pine-importer.c16
4 files changed, 28 insertions, 28 deletions
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c
index 35fd28c5b5..1fafedc0a2 100644
--- a/mail/importers/elm-importer.c
+++ b/mail/importers/elm-importer.c
@@ -1,20 +1,20 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* elm-importer.c
- *
+ *
* Authors: Iain Holmes <iain@ximian.com>
* Michael Zucchi <notzed@ximian.com>
*
* Copyright 2001 Ximian, Inc. (www.ximian.com)
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
@@ -303,7 +303,7 @@ mail_importer_elm_import(EImport *ei, EImportTarget *target)
m->status = camel_operation_new(elm_status, m);
id = m->msg.seq;
-
+
e_thread_put(mail_thread_queued, (EMsg *)m);
return id;
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index b12ecca3a2..1ad64b91e3 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -77,7 +77,7 @@ static GtkWidget *
mbox_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im)
{
GtkWidget *hbox, *w;
-
+
hbox = gtk_hbox_new(FALSE, 0);
w = gtk_label_new(_("Destination folder:"));
@@ -124,7 +124,7 @@ mbox_supported(EImport *ei, EImportTarget *target, EImportImporter *im)
close(fd);
}
- return ret;
+ return ret;
}
static void
diff --git a/mail/importers/mail-importer.c b/mail/importers/mail-importer.c
index 4e36ebd7fa..5905080735 100644
--- a/mail/importers/mail-importer.c
+++ b/mail/importers/mail-importer.c
@@ -56,10 +56,10 @@
/**
* mail_importer_make_local_folder:
- * @folderpath:
- *
+ * @folderpath:
+ *
* Check a local folder exists at path @folderpath, and if not, create it.
- *
+ *
* Return value: The physical uri of the folder, or NULL if the folder did
* not exist and could not be created.
**/
@@ -86,12 +86,12 @@ mail_importer_add_line (MailImporter *importer,
CamelMimeMessage *msg;
CamelMessageInfo *info;
CamelException *ex;
-
+
if (importer->mstream == NULL)
importer->mstream = CAMEL_STREAM_MEM (camel_stream_mem_new ());
camel_stream_write (CAMEL_STREAM (importer->mstream), str, strlen (str));
-
+
if (finished == FALSE)
return;
@@ -102,7 +102,7 @@ mail_importer_add_line (MailImporter *importer,
msg = camel_mime_message_new ();
camel_data_wrapper_construct_from_stream (CAMEL_DATA_WRAPPER (msg),
CAMEL_STREAM (importer->mstream));
-
+
camel_object_unref (importer->mstream);
importer->mstream = NULL;
@@ -133,7 +133,7 @@ struct _BonoboObject *mail_importer_factory_cb(struct _BonoboGenericFactory *fac
struct _import_mbox_msg {
struct _mail_msg msg;
-
+
char *path;
char *uri;
CamelOperation *cancel;
@@ -298,7 +298,7 @@ static void
import_mbox_free (struct _mail_msg *mm)
{
struct _import_mbox_msg *m = (struct _import_mbox_msg *)mm;
-
+
if (m->cancel)
camel_operation_unref(m->cancel);
g_free(m->uri);
@@ -436,11 +436,11 @@ import_folders_rec(struct _import_folders_data *m, const char *filepath, const c
/**
* mail_importer_import_folders_sync:
- * @filepath:
- * @:
- * @flags:
- * @cancel:
- *
+ * @filepath:
+ * @:
+ * @flags:
+ * @cancel:
+ *
* import from a base path @filepath into the root local folder tree,
* scanning all sub-folders.
*
diff --git a/mail/importers/pine-importer.c b/mail/importers/pine-importer.c
index 4487d51f0e..97f3349e66 100644
--- a/mail/importers/pine-importer.c
+++ b/mail/importers/pine-importer.c
@@ -1,22 +1,22 @@
/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/* pine-importer.c
- *
- * Authors:
+ *
+ * Authors:
* Iain Holmes <iain@ximian.com>
* Michael Zucchi <notzed@ximian.com>
*
* Copyright 2001 Ximian, Inc. (www.ximian.com)
* Copyright 2004 Novell, Inc.
*
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of version 2 of the GNU General Public
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of version 2 of the GNU General Public
* License as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
- *
+ *
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
@@ -177,7 +177,7 @@ import_contacts(void)
printf("importing pine addressbook\n");
if (!e_book_get_addressbooks(&source_list, NULL))
- return;
+ return;
name = g_build_filename(g_get_home_dir(), ".addressbook", NULL);
fp = fopen(name, "r");
@@ -192,7 +192,7 @@ import_contacts(void)
g_warning ("Could not create EBook.");
return;
}
-
+
e_book_open(book, TRUE, NULL);
g_object_unref(primary);
g_object_unref(source_list);
@@ -349,7 +349,7 @@ mail_importer_pine_import(EImport *ei, EImportTarget *target)
m->status = camel_operation_new(pine_status, m);
id = m->msg.seq;
-
+
e_thread_put(mail_thread_queued, (EMsg *)m);
return id;