From 785c41cb16530e199fa6f0d43eb74e41cac1cf09 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 22 Jul 2013 14:48:04 -0400 Subject: Remove unused e_web_view_get_enable_frame_flattening(). --- e-util/e-web-view.c | 19 ------------------- e-util/e-web-view.h | 2 -- 2 files changed, 21 deletions(-) (limited to 'e-util') 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) diff --git a/e-util/e-web-view.h b/e-util/e-web-view.h index 7a6ca8b1f2..8e4d26b86b 100644 --- a/e-util/e-web-view.h +++ b/e-util/e-web-view.h @@ -117,8 +117,6 @@ gboolean e_web_view_get_disable_save_to_disk void e_web_view_set_disable_save_to_disk (EWebView *web_view, gboolean disable_save_to_disk); -gboolean e_web_view_get_enable_frame_flattening - (EWebView *web_view); void e_web_view_set_enable_frame_flattening (EWebView *web_view, gboolean enable_frame_flattening); -- cgit