aboutsummaryrefslogtreecommitdiffstats
path: root/mail/importers
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2010-01-03 12:46:23 +0800
committerMatthew Barnes <mbarnes@redhat.com>2010-01-04 02:15:01 +0800
commite77ee5d5d38ad95bce550db62bf4105f43cf88c6 (patch)
tree3b4c275b086d3f49360c551e686f62140a8ee4d4 /mail/importers
parent3cfd5d640908b6441769341c764de70006262c6e (diff)
downloadgsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.gz
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.bz2
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.lz
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.xz
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.tar.zst
gsoc2013-evolution-e77ee5d5d38ad95bce550db62bf4105f43cf88c6.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'mail/importers')
-rw-r--r--mail/importers/elm-importer.c10
-rw-r--r--mail/importers/evolution-mbox-importer.c4
2 files changed, 10 insertions, 4 deletions
diff --git a/mail/importers/elm-importer.c b/mail/importers/elm-importer.c
index c2d45a25f6..e18da4535d 100644
--- a/mail/importers/elm-importer.c
+++ b/mail/importers/elm-importer.c
@@ -302,7 +302,9 @@ mail_importer_elm_import(EImport *ei, EImportTarget *target)
static void
checkbox_toggle_cb (GtkToggleButton *tb, EImportTarget *target)
{
- g_datalist_set_data(&target->data, "elm-do-mail", GINT_TO_POINTER(gtk_toggle_button_get_active(tb)));
+ g_datalist_set_data (
+ &target->data, "elm-do-mail",
+ GINT_TO_POINTER (gtk_toggle_button_get_active (tb)));
}
static GtkWidget *
@@ -313,10 +315,12 @@ elm_getwidget(EImport *ei, EImportTarget *target, EImportImporter *im)
gboolean done_mail;
gconf = gconf_client_get_default ();
- done_mail = gconf_client_get_bool (gconf, "/apps/evolution/importer/elm/mail", NULL);
+ done_mail = gconf_client_get_bool (
+ gconf, "/apps/evolution/importer/elm/mail", NULL);
g_object_unref(gconf);
- g_datalist_set_data(&target->data, "elm-do-mail", GINT_TO_POINTER(!done_mail));
+ g_datalist_set_data (
+ &target->data, "elm-do-mail", GINT_TO_POINTER(!done_mail));
box = gtk_vbox_new(FALSE, 2);
diff --git a/mail/importers/evolution-mbox-importer.c b/mail/importers/evolution-mbox-importer.c
index 01129471ae..2cd8c9864f 100644
--- a/mail/importers/evolution-mbox-importer.c
+++ b/mail/importers/evolution-mbox-importer.c
@@ -230,7 +230,9 @@ mbox_import(EImport *ei, EImportTarget *target, EImportImporter *im)
importer->cancel = camel_operation_new(mbox_status, importer);
filename = g_filename_from_uri(((EImportTargetURI *)target)->uri_src, NULL, NULL);
- mail_importer_import_mbox(filename, ((EImportTargetURI *)target)->uri_dest, importer->cancel, mbox_import_done, importer);
+ mail_importer_import_mbox (
+ filename, ((EImportTargetURI *)target)->uri_dest,
+ importer->cancel, mbox_import_done, importer);
g_free(filename);
}