aboutsummaryrefslogtreecommitdiffstats
path: root/e-util
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-12-26 13:26:18 +0800
commitbd31f49bac99f21656dc7d0352d5b3f7385f71b2 (patch)
treeb693ad7ec135bd8031458611b5ec485abd866463 /e-util
parent5f83c587b2da0b9578117796253b7726e98748cc (diff)
downloadgsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.gz
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.tar.zst
gsoc2013-evolution-bd31f49bac99f21656dc7d0352d5b3f7385f71b2.zip
Coding style and whitespace cleanup.
Diffstat (limited to 'e-util')
-rw-r--r--e-util/e-file-utils.c3
-rw-r--r--e-util/e-import.c10
-rw-r--r--e-util/e-signature.c8
3 files changed, 15 insertions, 6 deletions
diff --git a/e-util/e-file-utils.c b/e-util/e-file-utils.c
index 015da072f3..5c3aab4f1e 100644
--- a/e-util/e-file-utils.c
+++ b/e-util/e-file-utils.c
@@ -27,7 +27,8 @@
#include <sys/stat.h>
#include <unistd.h>
-/* This isn't as portable as, say, the stuff in GNU coreutils. But I care not for OSF1. */
+/* This isn't as portable as, say, the stuff in GNU coreutils.
+ * But I care not for OSF1. */
#ifdef HAVE_STATVFS
# ifdef HAVE_SYS_STATVFS_H
# include <sys/statvfs.h>
diff --git a/e-util/e-import.c b/e-util/e-import.c
index 13e09d4dba..e0bd5c6085 100644
--- a/e-util/e-import.c
+++ b/e-util/e-import.c
@@ -365,8 +365,9 @@ e_import_target_new_uri (EImport *import,
const gchar *uri_src,
const gchar *uri_dst)
{
- EImportTargetURI *t = e_import_target_new (import, E_IMPORT_TARGET_URI, sizeof (*t));
+ EImportTargetURI *t;
+ t = e_import_target_new (import, E_IMPORT_TARGET_URI, sizeof (*t));
t->uri_src = g_strdup (uri_src);
t->uri_dest = g_strdup (uri_dst);
@@ -542,8 +543,11 @@ emph_construct (EPluginHook *eph, EPlugin *ep, xmlNodePtr root)
ihook = emph_construct_importer (eph, node);
if (ihook) {
- e_import_class_add_importer (class, &ihook->importer, eih_free_importer, eph);
- emph->importers = g_slist_append (emph->importers, ihook);
+ e_import_class_add_importer (
+ class, &ihook->importer,
+ eih_free_importer, eph);
+ emph->importers = g_slist_append (
+ emph->importers, ihook);
}
}
node = node->next;
diff --git a/e-util/e-signature.c b/e-util/e-signature.c
index 2d8da48c12..ea6636c055 100644
--- a/e-util/e-signature.c
+++ b/e-util/e-signature.c
@@ -542,9 +542,13 @@ e_signature_to_xml (ESignature *signature)
string = e_signature_get_filename (signature);
if (string != NULL) {
- node = xmlNewTextChild (root, NULL, (xmlChar *) "filename", (xmlChar *) string);
+ node = xmlNewTextChild (
+ root, NULL, (xmlChar *) "filename",
+ (xmlChar *) string);
if (e_signature_get_is_script (signature))
- xmlSetProp (node, (xmlChar *) "script", (xmlChar *) "true");
+ xmlSetProp (
+ node, (xmlChar *) "script",
+ (xmlChar *) "true");
}
} else {
/* this is to make Evolution-1.4 and older 1.5 versions happy */