aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-encoding-menu.c
diff options
context:
space:
mode:
authorXan Lopez <xan@src.gnome.org>2009-02-27 00:37:43 +0800
committerXan Lopez <xan@src.gnome.org>2009-02-27 00:37:43 +0800
commit524007db88546cf76a6d0a0c1c512dd93058bc63 (patch)
tree1c9d1aadf4e2f3ee2c1d24c54e8b412ad0b144c1 /src/ephy-encoding-menu.c
parent01b36dd4aeebac60076b1e8d28dd1181129939bd (diff)
downloadgsoc2013-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-menu.c')
-rw-r--r--src/ephy-encoding-menu.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ephy-encoding-menu.c b/src/ephy-encoding-menu.c
index 0b56cc7e1..682a22747 100644
--- a/src/ephy-encoding-menu.c
+++ b/src/ephy-encoding-menu.c
@@ -112,7 +112,7 @@ update_encoding_menu_cb (GtkAction *dummy, EphyEncodingMenu *menu)
EphyEmbed *embed;
GtkAction *action;
char name[128];
- char *encoding;
+ const char *encoding;
EphyNode *enc_node;
GList *recent, *related = NULL, *l;
EphyLanguageGroup groups;
@@ -219,8 +219,6 @@ build_menu:
g_list_free (related);
g_list_free (recent);
- g_free (encoding);
-
menu->priv->update_tag = FALSE;
STOP_PROFILER ("Rebuilding encoding menu")