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/e-user-creatable-items-handler.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell/e-user-creatable-items-handler.c') 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