diff options
Diffstat (limited to 'e-util/e-web-view.c')
-rw-r--r-- | e-util/e-web-view.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/e-util/e-web-view.c b/e-util/e-web-view.c index 2a28a2b011..975b5ad96b 100644 --- a/e-util/e-web-view.c +++ b/e-util/e-web-view.c @@ -1917,25 +1917,6 @@ e_web_view_set_disable_save_to_disk (EWebView *web_view, g_object_notify (G_OBJECT (web_view), "disable-save-to-disk"); } -gboolean -e_web_view_get_enable_frame_flattening (EWebView *web_view) -{ - WebKitWebSettings *settings; - gboolean flattening; - - /* Return TRUE with fail since it's default value we set in _init(). */ - g_return_val_if_fail (E_IS_WEB_VIEW (web_view), TRUE); - - settings = webkit_web_view_get_settings (WEBKIT_WEB_VIEW (web_view)); - g_return_val_if_fail (settings != NULL, TRUE); - - g_object_get ( - G_OBJECT (settings), - "enable-frame-flattening", &flattening, NULL); - - return flattening; -} - void e_web_view_set_enable_frame_flattening (EWebView *web_view, gboolean enable_frame_flattening) |