aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ephy-encoding-dialog.c2
-rw-r--r--src/epiphany.defs6
2 files changed, 0 insertions, 8 deletions
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")