diff options
author | Dan Vrátil <dvratil@redhat.com> | 2012-04-12 18:48:00 +0800 |
---|---|---|
committer | Dan Vrátil <dvratil@redhat.com> | 2012-04-12 18:48:00 +0800 |
commit | 13762515153f9e254e5c17fb747ad76121f8710c (patch) | |
tree | 4bdc98861fe6fdb55a120a9ac10ca1e7cdf22216 /widgets/misc/e-web-view.h | |
parent | 870b676d8b082a61c267ce8ca27020946ca6d88f (diff) | |
download | gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar.gz gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar.bz2 gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar.lz gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar.xz gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.tar.zst gsoc2013-evolution-13762515153f9e254e5c17fb747ad76121f8710c.zip |
Bug #673108 - Font settings and monospace fonts don't work
Diffstat (limited to 'widgets/misc/e-web-view.h')
-rw-r--r-- | widgets/misc/e-web-view.h | 10 |
1 files changed, 9 insertions, 1 deletions
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 |