[evolution/wip/webkit2] Correct copy&paste error in the code (wrong variable name, causing a memory leak)



commit de153d5eef50ef43cab6f7da2bd5126bd2927e9c
Author: Milan Crha <mcrha redhat com>
Date:   Mon Jun 27 08:07:24 2016 +0200

    Correct copy&paste error in the code (wrong variable name, causing a memory leak)

 modules/webkit-editor/e-webkit-editor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/modules/webkit-editor/e-webkit-editor.c b/modules/webkit-editor/e-webkit-editor.c
index dcb8fd3..2b41a71 100644
--- a/modules/webkit-editor/e-webkit-editor.c
+++ b/modules/webkit-editor/e-webkit-editor.c
@@ -5974,7 +5974,7 @@ e_webkit_editor_init (EWebKitEditor *wk_editor)
        wk_editor->priv->emit_load_finished_when_extension_is_ready = FALSE;
 
        wk_editor->priv->font_color = gdk_rgba_copy (&black);
-       wk_editor->priv->font_color = gdk_rgba_copy (&white);
+       wk_editor->priv->background_color = gdk_rgba_copy (&white);
        wk_editor->priv->font_name = NULL;
        wk_editor->priv->font_size = E_CONTENT_EDITOR_FONT_SIZE_NORMAL;
        wk_editor->priv->block_format = E_CONTENT_EDITOR_BLOCK_FORMAT_PARAGRAPH;


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