[evolution/wip/webkit-composer] EEditorSelection: Fix compiler warning



commit 71468a1379430faa069276e87ae27bc8e8381004
Author: Tomas Popela <tpopela redhat com>
Date:   Mon Mar 10 16:37:51 2014 +0100

    EEditorSelection: Fix compiler warning

 e-util/e-editor-selection.c |    4 +---
 1 files changed, 1 insertions(+), 3 deletions(-)
---
diff --git a/e-util/e-editor-selection.c b/e-util/e-editor-selection.c
index 0716f08..4b71ae5 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -2741,7 +2741,7 @@ e_editor_selection_set_monospaced (EEditorSelection *selection,
                g_free (font_size_str);
 
                if (g_strcmp0 (e_editor_selection_get_string (selection), "") != 0) {
-                       gchar *html;
+                       gchar *html, *outer_html;
 
                        webkit_dom_node_append_child (
                                WEBKIT_DOM_NODE (monospace),
@@ -2749,8 +2749,6 @@ e_editor_selection_set_monospaced (EEditorSelection *selection,
                                        webkit_dom_range_clone_contents (range, NULL)),
                                NULL);
 
-                       gchar *outer_html;
-
                        outer_html = webkit_dom_html_element_get_outer_html (
                                WEBKIT_DOM_HTML_ELEMENT (monospace));
 


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