aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/totem-subtitle-encoding.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip.withnall@collabora.co.uk>2010-07-08 18:56:13 +0800
committerPhilip Withnall <philip.withnall@collabora.co.uk>2010-08-05 22:55:12 +0800
commita3faa867baeb51bb55e04fb507aaa45038f760a5 (patch)
tree3f548604cd6a9bb43838a433348fc1ad185d7827 /libempathy-gtk/totem-subtitle-encoding.c
parentf8c37da731af9f6cd74e7a0ef08fa02059d981ac (diff)
downloadgsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar.gz
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar.bz2
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar.lz
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar.xz
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.tar.zst
gsoc2013-empathy-a3faa867baeb51bb55e04fb507aaa45038f760a5.zip
Fix constness of various variables and parameters
Diffstat (limited to 'libempathy-gtk/totem-subtitle-encoding.c')
-rw-r--r--libempathy-gtk/totem-subtitle-encoding.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libempathy-gtk/totem-subtitle-encoding.c b/libempathy-gtk/totem-subtitle-encoding.c
index 285c5acf3..f376ea728 100644
--- a/libempathy-gtk/totem-subtitle-encoding.c
+++ b/libempathy-gtk/totem-subtitle-encoding.c
@@ -147,8 +147,8 @@ typedef struct
{
int index;
gboolean valid;
- char *charset;
- char *name;
+ const char *charset;
+ const char *name;
} SubtitleEncoding;
@@ -483,7 +483,7 @@ static GtkTreeModel *
subtitle_encoding_create_store (void)
{
gchar *label;
- gchar *lastlang = "";
+ const gchar *lastlang = "";
GtkTreeIter iter, iter2;
GtkTreeStore *store;
int i;