diff options
author | Xan Lopez <xan@src.gnome.org> | 2009-02-27 00:37:43 +0800 |
---|---|---|
committer | Xan Lopez <xan@src.gnome.org> | 2009-02-27 00:37:43 +0800 |
commit | 524007db88546cf76a6d0a0c1c512dd93058bc63 (patch) | |
tree | 1c9d1aadf4e2f3ee2c1d24c54e8b412ad0b144c1 /src/ephy-encoding-dialog.c | |
parent | 01b36dd4aeebac60076b1e8d28dd1181129939bd (diff) | |
download | gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar.gz gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar.bz2 gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar.lz gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar.xz gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.tar.zst gsoc2013-epiphany-524007db88546cf76a6d0a0c1c512dd93058bc63.zip |
Implement get/set encoding for the embed.
Bug #525265
svn path=/trunk/; revision=8815
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; } |