From 88a914e0e874ece8e1aa2267256cc55d2bc54025 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 1 Nov 2007 11:26:50 +0000 Subject: ** Miscellaneous compiler warning fixes. 2007-11-01 Matthew Barnes ** 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 --- shell/ChangeLog | 5 +++++ shell/e-user-creatable-items-handler.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'shell') 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 + + * e-user-creatable-items-handler.c (ensure_menu_items): + Don't compare a character pointer to a string literal. + 2007-10-29 Srinivasa Ragavan * 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); -- cgit v1.2.3