From 70e980e3b32b09be38bfbfd56c8f34ab6379ff3c Mon Sep 17 00:00:00 2001 From: Xan Lopez Date: Sun, 1 Mar 2009 20:18:06 +0000 Subject: Remove ephy_embed_has_automatic_encoding, it's unused now. svn path=/trunk/; revision=8833 --- embed/ephy-embed.c | 16 ---------------- embed/ephy-embed.h | 2 -- embed/webkit/webkit-embed.c | 7 ------- 3 files changed, 25 deletions(-) (limited to 'embed') 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 @@ -555,22 +555,6 @@ ephy_embed_show_page_certificate (EphyEmbed *embed) iface->show_page_certificate (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 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 @@ -557,12 +557,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) { @@ -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; -- cgit