[evolution/wip/webkit-composer: 483/966] EComposerPrivate - Fix compilation warnings



commit 3e4665dab93cf9bc2617318b906df0361c9ca2aa
Author: Tomas Popela <tpopela redhat com>
Date:   Fri Jan 24 10:02:00 2014 +0100

    EComposerPrivate - Fix compilation warnings

 composer/e-composer-private.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/composer/e-composer-private.c b/composer/e-composer-private.c
index df18088..6c43b9f 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -918,7 +918,8 @@ composer_move_caret (EMsgComposer *composer)
                        webkit_dom_range_collapse (new_range, FALSE, NULL);
                } else {
                        if (!has_paragraphs_in_body)
-                               insert_paragraph_with_input (element, body);
+                               insert_paragraph_with_input (
+                                       element, WEBKIT_DOM_ELEMENT (body));
 
                        webkit_dom_range_select_node_contents (new_range,
                                WEBKIT_DOM_NODE (
@@ -933,7 +934,8 @@ composer_move_caret (EMsgComposer *composer)
        } else {
                /* Move caret on the beginning of message */
                if (!has_paragraphs_in_body) {
-                       insert_paragraph_with_input (element, body);
+                       insert_paragraph_with_input (
+                               element, WEBKIT_DOM_ELEMENT (body));
 
                        if (webkit_dom_node_list_get_length (blockquotes) != 0) {
                                if (!e_editor_widget_get_html_mode (editor_widget)) {


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