aboutsummaryrefslogtreecommitdiffstats
path: root/filter
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-01-31 00:32:55 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-01-31 00:33:28 +0800
commit0109aa3a92b484ebb85c6481e5a8e39819b1f011 (patch)
treee7837b0a50517fc160a7b4d6d47f5c78a5505523 /filter
parentf25d21294158625477c529a679fd2f27fffb562c (diff)
downloadgsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.gz
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.bz2
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.lz
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.xz
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.tar.zst
gsoc2013-evolution-0109aa3a92b484ebb85c6481e5a8e39819b1f011.zip
More whitespace cleanup.
Diffstat (limited to 'filter')
-rw-r--r--filter/e-filter-input.c2
-rw-r--r--filter/e-filter-int.c2
-rw-r--r--filter/e-rule-editor.c28
3 files changed, 16 insertions, 16 deletions
diff --git a/filter/e-filter-input.c b/filter/e-filter-input.c
index ec92030333..84a9ad83c4 100644
--- a/filter/e-filter-input.c
+++ b/filter/e-filter-input.c
@@ -167,7 +167,7 @@ filter_input_xml_encode (EFilterElement *element)
xmlChar *str = link->data;
xmlNodePtr cur;
- cur = xmlNewChild (value, NULL, (xmlChar *)type, NULL);
+ cur = xmlNewChild (value, NULL, (xmlChar *)type, NULL);
str = xmlEncodeEntitiesReentrant (NULL, str);
xmlNodeSetContent (cur, str);
diff --git a/filter/e-filter-int.c b/filter/e-filter-int.c
index dc0fbdb5a8..d82b36efda 100644
--- a/filter/e-filter-int.c
+++ b/filter/e-filter-int.c
@@ -53,7 +53,7 @@ filter_int_finalize (GObject *object)
g_free (filter_int->type);
/* Chain up to parent's finalize() method. */
- G_OBJECT_CLASS (e_filter_int_parent_class)->finalize (object);
+ G_OBJECT_CLASS (e_filter_int_parent_class)->finalize (object);
}
static gint
diff --git a/filter/e-rule-editor.c b/filter/e-rule-editor.c
index 59f12de672..10126bc42c 100644
--- a/filter/e-rule-editor.c
+++ b/filter/e-rule-editor.c
@@ -70,20 +70,20 @@ rule_editor_add_undo (ERuleEditor *editor,
gint rank,
gint newrank)
{
- ERuleEditorUndo *undo;
-
- if (!editor->undo_active && enable_undo) {
- undo = g_malloc0 (sizeof (*undo));
- undo->rule = rule;
- undo->type = type;
- undo->rank = rank;
- undo->newrank = newrank;
-
- undo->next = editor->undo_log;
- editor->undo_log = undo;
- } else {
- g_object_unref (rule);
- }
+ ERuleEditorUndo *undo;
+
+ if (!editor->undo_active && enable_undo) {
+ undo = g_malloc0 (sizeof (*undo));
+ undo->rule = rule;
+ undo->type = type;
+ undo->rank = rank;
+ undo->newrank = newrank;
+
+ undo->next = editor->undo_log;
+ editor->undo_log = undo;
+ } else {
+ g_object_unref (rule);
+ }
}
static void