[evolution/wip/webkit-composer] EEditorSelection: Change type of newly inserted list and not the old one



commit e1eed878507ecb67e6a1f2cb2b6eafc883714d9d
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Mar 4 16:36:04 2014 +0100

    EEditorSelection: Change type of newly inserted list and not the old one

 e-util/e-editor-selection.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index 72f59fb..0450d8e 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -1400,7 +1400,7 @@ change_list_style (EEditorSelection *selection,
 
                move_items_from_list_to_list (WEBKIT_DOM_ELEMENT (list), new_list);
 
-               webkit_dom_node_replace_child (
+               list = webkit_dom_node_replace_child (
                        webkit_dom_node_get_parent_node (list),
                        WEBKIT_DOM_NODE (new_list),
                        list,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]