diff options
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 |