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



commit 1592e390d3bc5b577635439b282be363f5d9c13c
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 bd2b1f3..40fb042 100644
--- a/e-util/e-editor-selection.c
+++ b/e-util/e-editor-selection.c
@@ -2737,7 +2737,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),
@@ -2745,8 +2745,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]