aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy-gtk')
-rw-r--r--libempathy-gtk/empathy-individual-store.c4
-rw-r--r--libempathy-gtk/empathy-ui-utils.c6
-rw-r--r--libempathy-gtk/empathy-ui-utils.h2
-rw-r--r--libempathy-gtk/empathy-video-src.c4
-rw-r--r--libempathy-gtk/totem-subtitle-encoding.c6
5 files changed, 11 insertions, 11 deletions
diff --git a/libempathy-gtk/empathy-individual-store.c b/libempathy-gtk/empathy-individual-store.c
index 89cbc062a..2f530069c 100644
--- a/libempathy-gtk/empathy-individual-store.c
+++ b/libempathy-gtk/empathy-individual-store.c
@@ -781,7 +781,7 @@ individual_store_remove_individual_and_disconnect (
static void
individual_store_members_changed_cb (EmpathyIndividualManager *manager,
- gchar *message,
+ const gchar *message,
GList *added,
GList *removed,
guint reason,
@@ -902,7 +902,7 @@ individual_store_member_renamed_cb (EmpathyIndividualManager *manager,
FolksIndividual *old_individual,
FolksIndividual *new_individual,
guint reason,
- gchar *message,
+ const gchar *message,
EmpathyIndividualStore *self)
{
EmpathyIndividualStorePriv *priv;
diff --git a/libempathy-gtk/empathy-ui-utils.c b/libempathy-gtk/empathy-ui-utils.c
index 703d3e37c..46a26d8f7 100644
--- a/libempathy-gtk/empathy-ui-utils.c
+++ b/libempathy-gtk/empathy-ui-utils.c
@@ -129,9 +129,9 @@ empathy_builder_get_file (const gchar *filename,
}
void
-empathy_builder_connect (GtkBuilder *gui,
- gpointer user_data,
- gchar *first_object,
+empathy_builder_connect (GtkBuilder *gui,
+ gpointer user_data,
+ const gchar *first_object,
...)
{
va_list args;
diff --git a/libempathy-gtk/empathy-ui-utils.h b/libempathy-gtk/empathy-ui-utils.h
index 87c17b333..9c3ec6517 100644
--- a/libempathy-gtk/empathy-ui-utils.h
+++ b/libempathy-gtk/empathy-ui-utils.h
@@ -61,7 +61,7 @@ GtkBuilder * empathy_builder_get_file (const gchar *filen
...);
void empathy_builder_connect (GtkBuilder *gui,
gpointer user_data,
- gchar *first_object,
+ const gchar *first_object,
...);
GtkWidget *empathy_builder_unref_and_keep_widget (GtkBuilder *gui,
GtkWidget *root);
diff --git a/libempathy-gtk/empathy-video-src.c b/libempathy-gtk/empathy-video-src.c
index 96324e06c..aa4d35ac2 100644
--- a/libempathy-gtk/empathy-video-src.c
+++ b/libempathy-gtk/empathy-video-src.c
@@ -29,8 +29,8 @@
G_DEFINE_TYPE(EmpathyGstVideoSrc, empathy_video_src, GST_TYPE_BIN)
/* Keep in sync with EmpathyGstVideoSrcChannel */
-static gchar *channel_names[NR_EMPATHY_GST_VIDEO_SRC_CHANNELS] = { "contrast",
- "brightness", "gamma" };
+static const gchar *channel_names[NR_EMPATHY_GST_VIDEO_SRC_CHANNELS] = {
+ "contrast", "brightness", "gamma" };
/* signal enum */
#if 0
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;