diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/table/ChangeLog | 5 | ||||
-rw-r--r-- | widgets/table/e-table-click-to-add.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/widgets/table/ChangeLog b/widgets/table/ChangeLog index f439d17d7b..6f412a8816 100644 --- a/widgets/table/ChangeLog +++ b/widgets/table/ChangeLog @@ -1,3 +1,8 @@ +2007-11-01 Matthew Barnes <mbarnes@redhat.com> + + * e-table-click-to-add.c (etcta_add_message): + Fix a const warning. + 2007-10-26 Kjartan Maraas <kmaraas@gnome.org> * e-cell-text.c: (ect_event), (_blink_scroll_timeout): 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); |