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/ephy-embed.c | |
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/ephy-embed.c')
-rw-r--r-- | embed/ephy-embed.c | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c index b9721bb0f..73d34d6f3 100644 --- a/embed/ephy-embed.c +++ b/embed/ephy-embed.c @@ -556,41 +556,6 @@ ephy_embed_show_page_certificate (EphyEmbed *embed) } /** - * ephy_embed_set_encoding: - * @embed: an #EphyEmbed - * @encoding: the desired encoding - * - * Sets @embed's character encoding to @encoding. These cryptic encoding - * strings are listed in <filename>embed/ephy-encodings.c</filename>. - * - * Pass an empty string (not NULL) in @encoding to reset @embed to use the - * document-specified encoding. - **/ -void -ephy_embed_set_encoding (EphyEmbed *embed, - const char *encoding) -{ - EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - iface->set_encoding (embed, encoding); -} - -/** - * ephy_embed_get_encoding: - * @embed: an #EphyEmbed - * - * Returns the @embed's document encoding. - * - * Returns: the @embed's document encoding - * - **/ -const char * -ephy_embed_get_encoding (EphyEmbed *embed) -{ - EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed); - return iface->get_encoding (embed); -} - -/** * ephy_embed_has_automatic_encoding: * @embed: an #EphyEmbed * |