diff options
author | Xan Lopez <xan@src.gnome.org> | 2009-03-02 04:18:06 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2009-03-02 04:18:06 +0800 |
commit | 70e980e3b32b09be38bfbfd56c8f34ab6379ff3c (patch) | |
tree | 1727713a0d8a741bfd0bba4f61e688e3478c4690 | |
parent | 47ad1005ec007fc15b2ed83d78101a9785688afe (diff) | |
download | gsoc2013-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
-rw-r--r-- | doc/reference/tmpl/ephy-embed.sgml | 12 | ||||
-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 | ||||
-rw-r--r-- | src/ephy-encoding-dialog.c | 2 | ||||
-rw-r--r-- | src/epiphany.defs | 6 |
6 files changed, 0 insertions, 45 deletions
diff --git a/doc/reference/tmpl/ephy-embed.sgml b/doc/reference/tmpl/ephy-embed.sgml index c7236b853..6991679d7 100644 --- a/doc/reference/tmpl/ephy-embed.sgml +++ b/doc/reference/tmpl/ephy-embed.sgml @@ -255,9 +255,6 @@ be done by casting). @shistory_copy: @get_security_level: @show_page_certificate: -@get_encoding: -@has_automatic_encoding: -@set_encoding: @set_print_preview_mode: @print_preview_n_pages: @print_preview_navigate: @@ -373,15 +370,6 @@ windows opened with JavaScript often use a nonstandard chrome. @description: -<!-- ##### FUNCTION ephy_embed_set_encoding ##### --> -<para> - -</para> - -@embed: -@encoding: - - <!-- ##### FUNCTION ephy_embed_print_preview_n_pages ##### --> <para> 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; diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c index 0556a8813..e9283cfb8 100644 --- a/src/ephy-encoding-dialog.c +++ b/src/ephy-encoding-dialog.c @@ -127,8 +127,6 @@ sync_encoding_against_embed (EphyEncodingDialog *dialog) g_list_free (rows); } - is_automatic = ephy_embed_has_automatic_encoding (embed); - button = ephy_dialog_get_control (EPHY_DIALOG (dialog), properties[AUTOMATIC_PROP].id); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), is_automatic); diff --git a/src/epiphany.defs b/src/epiphany.defs index ad5c8c06d..d0d5faaa7 100644 --- a/src/epiphany.defs +++ b/src/epiphany.defs @@ -1099,12 +1099,6 @@ (return-type "none") ) -(define-method has_automatic_encoding - (of-object "EphyEmbed") - (c-name "ephy_embed_has_automatic_encoding") - (return-type "gboolean") -) - (define-method set_print_preview_mode (of-object "EphyEmbed") (c-name "ephy_embed_set_print_preview_mode") |