[evolution/wip-webkit2] Adapt EMailDisplay to new EWebView API



commit 8d87fc237f65d5174c9d362d33804ccb856589a0
Author: Tomas Popela <tpopela redhat com>
Date:   Tue Oct 29 14:47:44 2013 +0100

    Adapt EMailDisplay to new EWebView API

 mail/e-mail-display.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/mail/e-mail-display.c b/mail/e-mail-display.c
index 202b9b7..85cd1c7 100644
--- a/mail/e-mail-display.c
+++ b/mail/e-mail-display.c
@@ -848,11 +848,13 @@ add_color_css_rule_for_web_view (EWebView *view,
        else
                style = g_strconcat ("background-color: ", color_value, " !important;", NULL);
 
-       e_web_view_add_css_rule_into_style_sheet (
+       e_web_view_add_css_rule_into_style_sheet_sync (
                view,
                "-e-mail-formatter-style-sheet",
                selector,
-               style);
+               style,
+               NULL,
+               NULL);
 
        g_free (style);
        g_free (selector);


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