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 /shell | |
parent | 5637a10ef700f76390a84c14cb2ecf39013cb5c8 (diff) | |
download | gsoc2013-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 'shell')
-rw-r--r-- | shell/ChangeLog | 5 | ||||
-rw-r--r-- | shell/e-user-creatable-items-handler.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/shell/ChangeLog b/shell/ChangeLog index acb070740a..5255bd5f83 100644 --- a/shell/ChangeLog +++ b/shell/ChangeLog @@ -1,3 +1,8 @@ +2007-11-01 Matthew Barnes <mbarnes@redhat.com> + + * e-user-creatable-items-handler.c (ensure_menu_items): + Don't compare a character pointer to a string literal. + 2007-10-29 Srinivasa Ragavan <sragavan@novell.com> * GNOME_Evolution_Shell.server.in.in: Remove the version. diff --git a/shell/e-user-creatable-items-handler.c b/shell/e-user-creatable-items-handler.c index 0ed012ea69..b367113683 100644 --- a/shell/e-user-creatable-items-handler.c +++ b/shell/e-user-creatable-items-handler.c @@ -265,7 +265,7 @@ ensure_menu_items (EUserCreatableItemsHandler *handler) && strcmp (corba_item->id, "message") == 0) default_verb = item->verb; - if (corba_item->iconName == "") { + if (corba_item->iconName == NULL || *corba_item->iconName == '\0') { item->icon = NULL; } else { item->icon = e_icon_factory_get_icon (corba_item->iconName, E_ICON_SIZE_MENU); |