diff options
Diffstat (limited to 'modules/mail/e-mail-config-web-view.c')
-rw-r--r-- | modules/mail/e-mail-config-web-view.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/mail/e-mail-config-web-view.c b/modules/mail/e-mail-config-web-view.c index 8f838b3295..80f3f65c0f 100644 --- a/modules/mail/e-mail-config-web-view.c +++ b/modules/mail/e-mail-config-web-view.c @@ -73,6 +73,8 @@ mail_config_web_view_load_style (EMailConfigWebView *extension) gchar *variable_font; gboolean custom_fonts; gboolean mark_citations; + EExtensible *extensible; + GtkStyleContext *style_context; GError *error = NULL; /* Some of our mail and composer preferences are passed down to @@ -138,8 +140,9 @@ mail_config_web_view_load_style (EMailConfigWebView *extension) g_free (citation_color); g_free (spell_color); - gtk_style_context_invalidate ( - gtk_widget_get_style_context (GTK_WIDGET (e_extension_get_extensible (E_EXTENSION (extension))))); + extensible = e_extension_get_extensible (E_EXTENSION (extension)); + style_context = gtk_widget_get_style_context (GTK_WIDGET (extensible)); + gtk_style_context_invalidate (style_context); } static void |