aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2007-11-01 19:26:50 +0800
committerMatthew Barnes <mbarnes@src.gnome.org>2007-11-01 19:26:50 +0800
commit88a914e0e874ece8e1aa2267256cc55d2bc54025 (patch)
treee45543a45efa34d608052016065b527f9b1cb282 /widgets
parent5637a10ef700f76390a84c14cb2ecf39013cb5c8 (diff)
downloadgsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.gz
gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.zst
gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.zip
** Miscellaneous compiler warning fixes.
2007-11-01 Matthew Barnes <mbarnes@redhat.com> ** Miscellaneous compiler warning fixes. * composer/e-msg-composer.c (e_msg_composer_set_body_text): * shell/e-user-creatable-items-handler.c (ensure_menu_items): Don't compare a character pointer to a string literal. * widgets/table/e-table-click-to-add.c (etcta_add_message): Fix a const warning. svn path=/trunk/; revision=34476
Diffstat (limited to 'widgets')
-rw-r--r--widgets/table/ChangeLog5
-rw-r--r--widgets/table/e-table-click-to-add.c4
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);