diff options
Diffstat (limited to 'embed')
-rw-r--r-- | embed/ephy-embed.c | 16 | ||||
-rw-r--r-- | embed/ephy-embed.h | 2 | ||||
-rw-r--r-- | embed/webkit/webkit-embed.c | 7 |
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; |