diff options
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); |