aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-click-to-add.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/table/e-table-click-to-add.c')
-rw-r--r--widgets/table/e-table-click-to-add.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-click-to-add.c b/widgets/table/e-table-click-to-add.c
index 0ebca14447..718b3e3e3e 100644
--- a/widgets/table/e-table-click-to-add.c
+++ b/widgets/table/e-table-click-to-add.c
@@ -162,7 +162,7 @@ etcta_drop_model (ETableClickToAdd *etcta)
}
static void
-etcta_add_message (ETableClickToAdd *etcta, char *message)
+etcta_add_message (ETableClickToAdd *etcta, const gchar *message)
{
etcta->message = g_strdup(message);
}
@@ -211,7 +211,7 @@ etcta_set_property (GObject *object, guint prop_id, const GValue *value, GParamS
break;
case PROP_MESSAGE:
etcta_drop_message (etcta);
- etcta_add_message (etcta, (char*)g_value_get_string (value));
+ etcta_add_message (etcta, g_value_get_string (value));
break;
case PROP_WIDTH:
etcta->width = g_value_get_double (value);