diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-07-23 02:48:04 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-07-27 14:16:52 +0800 |
commit | 785c41cb16530e199fa6f0d43eb74e41cac1cf09 (patch) | |
tree | de7263b301fea0eae65f974983690e99f24ff982 | |
parent | 6b0d293efafd3e197f37e90367f9e0b960bc208c (diff) | |
download | gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar.gz gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar.bz2 gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar.lz gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar.xz gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.tar.zst gsoc2013-evolution-785c41cb16530e199fa6f0d43eb74e41cac1cf09.zip |
Remove unused e_web_view_get_enable_frame_flattening().
-rw-r--r-- | doc/reference/evolution-util/evolution-util-sections.txt | 1 | ||||
-rw-r--r-- | e-util/e-web-view.c | 19 | ||||
-rw-r--r-- | e-util/e-web-view.h | 2 |
3 files changed, 0 insertions, 22 deletions
diff --git a/doc/reference/evolution-util/evolution-util-sections.txt b/doc/reference/evolution-util/evolution-util-sections.txt index de1fa28133..dce251e489 100644 --- a/doc/reference/evolution-util/evolution-util-sections.txt +++ b/doc/reference/evolution-util/evolution-util-sections.txt @@ -4365,7 +4365,6 @@ e_web_view_get_disable_printing e_web_view_set_disable_printing e_web_view_get_disable_save_to_disk e_web_view_set_disable_save_to_disk -e_web_view_get_enable_frame_flattening e_web_view_set_enable_frame_flattening e_web_view_get_editable e_web_view_set_editable 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); |