summaryrefslogtreecommitdiff
path: root/src/ephy-encoding-dialog.c
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw@src.gnome.org>2015-12-15 03:13:02 +0800
committerTing-Wei Lan <lantw@src.gnome.org>2015-12-15 03:13:02 +0800
commit06152d563c07115f44535158656c2583d902b7d6 (patch)
tree99185a67b48065e22047d664beb7c65c0739bd29 /src/ephy-encoding-dialog.c
parent83fa7713c416a81625ab3c904f4f2e3a7119390f (diff)
downloadepiphany-06152d563c07115f44535158656c2583d902b7d6.tar.gz
build: Fix build with clang -Werror and -Wwrite-strings
https://bugzilla.gnome.org/show_bug.cgi?id=759200
Diffstat (limited to 'src/ephy-encoding-dialog.c')
-rw-r--r--src/ephy-encoding-dialog.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ephy-encoding-dialog.c b/src/ephy-encoding-dialog.c
index 5ea718525..1d5d00e49 100644
--- a/src/ephy-encoding-dialog.c
+++ b/src/ephy-encoding-dialog.c
@@ -44,7 +44,7 @@ struct _EphyEncodingDialog
GtkWidget *enc_view;
gboolean update_embed_tag;
gboolean update_view_tag;
- char *selected_encoding;
+ const char *selected_encoding;
/* from the UI file */
GtkStack *type_stack;