diff options
author | Xan Lopez <xan@src.gnome.org> | 2009-02-27 01:46:41 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2009-02-27 01:46:41 +0800 |
commit | 026b90333c7c21998f1832c0e741937c6108d196 (patch) | |
tree | 73f1aef212e60cd678de4735147bf901f265ea63 /embed/webkit | |
parent | 887bf0716e88a3dea7b6c6a60c37d59d24f652a8 (diff) | |
download | gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar.gz gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar.bz2 gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar.lz gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar.xz gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.tar.zst gsoc2013-epiphany-026b90333c7c21998f1832c0e741937c6108d196.zip |
Remove embedding APIs for set/get encoding.
Use WebKit API directly.
svn path=/trunk/; revision=8817
Diffstat (limited to 'embed/webkit')
-rw-r--r-- | embed/webkit/webkit-embed.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c index 330718a29..e41d7172d 100644 --- a/embed/webkit/webkit-embed.c +++ b/embed/webkit/webkit-embed.c @@ -557,21 +557,6 @@ impl_print_preview_navigate (EphyEmbed *embed, { } -static void -impl_set_encoding (EphyEmbed *embed, - const char *encoding) -{ - WebKitWebView *view = WEBKIT_EMBED (embed)->priv->web_view; - webkit_web_view_set_custom_encoding (view, encoding); -} - -static const char * -impl_get_encoding (EphyEmbed *embed) -{ - WebKitWebView *view = WEBKIT_EMBED (embed)->priv->web_view; - return webkit_web_view_get_custom_encoding (view); -} - static gboolean impl_has_automatic_encoding (EphyEmbed *embed) { @@ -596,8 +581,6 @@ ephy_embed_iface_init (EphyEmbedIface *iface) iface->get_js_status = impl_get_js_status; iface->shistory_copy = impl_shistory_copy; iface->show_page_certificate = impl_show_page_certificate; - iface->set_encoding = impl_set_encoding; - iface->get_encoding = impl_get_encoding; iface->has_automatic_encoding = impl_has_automatic_encoding; iface->set_print_preview_mode = impl_set_print_preview_mode; iface->print_preview_n_pages = impl_print_preview_n_pages; |