aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/empathy-accounts-dialog.c6
-rw-r--r--src/empathy-call-window.c2
-rw-r--r--src/empathy-import-pidgin.c6
3 files changed, 7 insertions, 7 deletions
diff --git a/src/empathy-accounts-dialog.c b/src/empathy-accounts-dialog.c
index e7977894c..c41763d90 100644
--- a/src/empathy-accounts-dialog.c
+++ b/src/empathy-accounts-dialog.c
@@ -472,7 +472,7 @@ account_dialog_create_settings_widget (EmpathyAccountsDialog *dialog,
EmpathyAccountSettings *settings)
{
EmpathyAccountsDialogPriv *priv = GET_PRIV (dialog);
- gchar *icon_name;
+ const gchar *icon_name;
TpAccount *account;
priv->setting_widget_object =
@@ -2299,7 +2299,7 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
gboolean hidden)
{
GError *error = NULL;
- gchar *argv[4] = { NULL, };
+ const gchar *argv[4] = { NULL, };
gint i = 0;
gchar *account_option = NULL;
gchar *path;
@@ -2341,7 +2341,7 @@ empathy_accounts_dialog_show_application (GdkScreen *screen,
selected_account == NULL ? "<none selected>" :
tp_proxy_get_object_path (TP_PROXY (selected_account)));
- gdk_spawn_on_screen (screen, NULL, argv, NULL, G_SPAWN_SEARCH_PATH,
+ gdk_spawn_on_screen (screen, NULL, (gchar**) argv, NULL, G_SPAWN_SEARCH_PATH,
NULL, NULL, NULL, &error);
if (error != NULL)
{
diff --git a/src/empathy-call-window.c b/src/empathy-call-window.c
index c2416ea03..7376c486b 100644
--- a/src/empathy-call-window.c
+++ b/src/empathy-call-window.c
@@ -376,7 +376,7 @@ empathy_call_window_create_dtmf (EmpathyCallWindow *self)
int i;
GQuark button_quark;
struct {
- gchar *label;
+ const gchar *label;
TpDTMFEvent event;
} dtmfbuttons[] = { { "1", TP_DTMF_EVENT_DIGIT_1 },
{ "2", TP_DTMF_EVENT_DIGIT_2 },
diff --git a/src/empathy-import-pidgin.c b/src/empathy-import-pidgin.c
index 87910b96a..1e9a31713 100644
--- a/src/empathy-import-pidgin.c
+++ b/src/empathy-import-pidgin.c
@@ -45,9 +45,9 @@
/* Pidgin to CM map */
typedef struct
{
- gchar *protocol;
- gchar *pidgin_name;
- gchar *cm_name;
+ const gchar *protocol;
+ const gchar *pidgin_name;
+ const gchar *cm_name;
} PidginCmMapItem;
static PidginCmMapItem pidgin_cm_map[] =