aboutsummaryrefslogtreecommitdiffstats
path: root/embed
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-03-02 04:18:06 +0800
committerXan Lopez <xan@src.gnome.org>2009-03-02 04:18:06 +0800
commit70e980e3b32b09be38bfbfd56c8f34ab6379ff3c (patch)
tree1727713a0d8a741bfd0bba4f61e688e3478c4690 /embed
parent47ad1005ec007fc15b2ed83d78101a9785688afe (diff)
downloadgsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar.gz
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar.bz2
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar.lz
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar.xz
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.tar.zst
gsoc2013-epiphany-70e980e3b32b09be38bfbfd56c8f34ab6379ff3c.zip
Remove ephy_embed_has_automatic_encoding, it's unused now.
svn path=/trunk/; revision=8833
Diffstat (limited to 'embed')
-rw-r--r--embed/ephy-embed.c16
-rw-r--r--embed/ephy-embed.h2
-rw-r--r--embed/webkit/webkit-embed.c7
3 files changed, 0 insertions, 25 deletions
diff --git a/embed/ephy-embed.c b/embed/ephy-embed.c
index 73d34d6f3..bb1cc3bd1 100644
--- a/embed/ephy-embed.c
+++ b/embed/ephy-embed.c
@@ -556,22 +556,6 @@ ephy_embed_show_page_certificate (EphyEmbed *embed)
}
/**
- * ephy_embed_has_automatic_encoding:
- * @embed: an #EphyEmbed
- *
- * Returns whether the @embed's document encoding was determined by the
- * document itself.
- *
- * Returns: if the @embed's document encoding was determined by itself
- **/
-gboolean
-ephy_embed_has_automatic_encoding (EphyEmbed *embed)
-{
- EphyEmbedIface *iface = EPHY_EMBED_GET_IFACE (embed);
- return iface->has_automatic_encoding (embed);
-}
-
-/**
* ephy_embed_set_print_preview_mode:
* @embed: an #EphyEmbed
* @preview_mode: Whether the print preview mode is enabled.
diff --git a/embed/ephy-embed.h b/embed/ephy-embed.h
index 0b9c65149..bc41d93cb 100644
--- a/embed/ephy-embed.h
+++ b/embed/ephy-embed.h
@@ -190,7 +190,6 @@ struct _EphyEmbedIface
void (* scroll_pixels) (EphyEmbed *embed,
int dx,
int dy);
- gboolean (* has_automatic_encoding) (EphyEmbed *embed);
void (* set_print_preview_mode) (EphyEmbed *embed,
gboolean mode);
int (* print_preview_n_pages) (EphyEmbed *embed);
@@ -305,7 +304,6 @@ gboolean ephy_embed_get_is_blank (EphyEmbed *embed);
const char * ephy_embed_get_loading_title (EphyEmbed *embed);
gboolean ephy_embed_get_visibility (EphyEmbed *embed);
-gboolean ephy_embed_has_automatic_encoding (EphyEmbed *embed);
/* Print */
void ephy_embed_set_print_preview_mode (EphyEmbed *embed,
diff --git a/embed/webkit/webkit-embed.c b/embed/webkit/webkit-embed.c
index e41d7172d..81095e411 100644
--- a/embed/webkit/webkit-embed.c
+++ b/embed/webkit/webkit-embed.c
@@ -558,12 +558,6 @@ impl_print_preview_navigate (EphyEmbed *embed,
}
static gboolean
-impl_has_automatic_encoding (EphyEmbed *embed)
-{
- return FALSE;
-}
-
-static gboolean
impl_has_modified_forms (EphyEmbed *embed)
{
return FALSE;
@@ -581,7 +575,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->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;
iface->print_preview_navigate = impl_print_preview_navigate;