diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2011-01-31 00:32:55 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:29 +0800 |
commit | dbc22f9de50142b8339fa843575a5e15bd3fe8ff (patch) | |
tree | 6daf0c4fdc32fcde76c4529cbc6fdba4121c7242 /filter | |
parent | 726ac1a8bb57a7015d72022784ea7dec135ae1d5 (diff) | |
download | gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.gz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.bz2 gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.lz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.xz gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.tar.zst gsoc2013-evolution-dbc22f9de50142b8339fa843575a5e15bd3fe8ff.zip |
More whitespace cleanup.
Diffstat (limited to 'filter')
-rw-r--r-- | filter/e-filter-input.c | 2 | ||||
-rw-r--r-- | filter/e-filter-int.c | 2 | ||||
-rw-r--r-- | filter/e-rule-editor.c | 28 |
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 |