diff options
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r-- | src/ephy-encoding-dialog.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c index 5a2c3ba3f..64a343868 100644 --- a/src/ephy-encoding-dialog.c +++ b/src/ephy-encoding-dialog.c @@ -83,7 +83,7 @@ sync_encoding_against_embed (EphyEncodingDialog *dialog) GtkTreeModel *model; GList *rows; GtkWidget *button; - char *encoding; + const char *encoding; gboolean is_automatic; dialog->priv->update_tag = TRUE; @@ -123,8 +123,6 @@ sync_encoding_against_embed (EphyEncodingDialog *dialog) button = ephy_dialog_get_control (EPHY_DIALOG (dialog), properties[AUTOMATIC_PROP].id); gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (button), is_automatic); - g_free (encoding); - dialog->priv->update_tag = FALSE; } |