[evolution] Remove unused e_web_view_get_enable_frame_flattening().
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] Remove unused e_web_view_get_enable_frame_flattening().
- Date: Sun, 28 Jul 2013 02:02:06 +0000 (UTC)
commit 785c41cb16530e199fa6f0d43eb74e41cac1cf09
Author: Matthew Barnes <mbarnes redhat com>
Date: Mon Jul 22 14:48:04 2013 -0400
Remove unused e_web_view_get_enable_frame_flattening().
.../evolution-util/evolution-util-sections.txt | 1 -
e-util/e-web-view.c | 19 -------------------
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 de1fa28..dce251e 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 2a28a2b..975b5ad 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 7a6ca8b..8e4d26b 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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]