diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2007-11-01 19:26:50 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@src.gnome.org> | 2007-11-01 19:26:50 +0800 |
commit | 88a914e0e874ece8e1aa2267256cc55d2bc54025 (patch) | |
tree | e45543a45efa34d608052016065b527f9b1cb282 /widgets/table | |
parent | 5637a10ef700f76390a84c14cb2ecf39013cb5c8 (diff) | |
download | gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.gz gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.bz2 gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.lz gsoc2013-evolution-88a914e0e874ece8e1aa2267256cc55d2bc54025.tar.xz 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/table')
-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); |