[evolution/wip/webkit-composer: 343/372] EComposerPrivate - Fix compilation warnings



commit aa7264fc54631b164c19ad10a241c4c3abfdbc51
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 525ab44..c3da9f9 100644
--- a/composer/e-composer-private.c
+++ b/composer/e-composer-private.c
@@ -920,7 +920,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 (
@@ -935,7 +936,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]