From 13762515153f9e254e5c17fb747ad76121f8710c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Vr=C3=A1til?= Date: Thu, 12 Apr 2012 12:48:00 +0200 Subject: Bug #673108 - Font settings and monospace fonts don't work --- widgets/misc/e-web-view.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'widgets/misc/e-web-view.h') diff --git a/widgets/misc/e-web-view.h b/widgets/misc/e-web-view.h index d71cf04822..02eb9ecf66 100644 --- a/widgets/misc/e-web-view.h +++ b/widgets/misc/e-web-view.h @@ -54,6 +54,7 @@ G_BEGIN_DECLS typedef struct _EWebView EWebView; typedef struct _EWebViewClass EWebViewClass; typedef struct _EWebViewPrivate EWebViewPrivate; +struct PangoFontDescription; struct _EWebView { WebKitWebView parent; @@ -90,6 +91,10 @@ struct _EWebViewClass { void (*frame_load_uri) (EWebView *web_view, const gchar *frame_name, const gchar *uri); + void (*set_fonts) (EWebView *web_view, + PangoFontDescription **monospace, + PangoFontDescription **variable_width); + /* Signals */ gboolean (*popup_event) (EWebView *web_view, GdkEventButton *event, @@ -219,8 +224,11 @@ gchar * e_web_view_get_selection_html (EWebView *web_view); void e_web_view_set_settings (EWebView *web_view, WebKitWebSettings *settings); + +void e_web_view_update_fonts (EWebView *web_view); + WebKitWebSettings * - e_web_view_get_default_settings (); + e_web_view_get_default_settings (void); G_END_DECLS -- cgit v1.2.3