From a3dfdc714c2d3b4663c1d7f2b07daf6e8a8940dc Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Wed, 6 Mar 2002 23:33:35 +0000 Subject: Fix up GList/GSList confusion. * e-corba-storage-registry.c (impl_StorageRegistry_removeListener): Fix up GList/GSList confusion. * e-shell-user-creatable-items-handler.c (get_default_action_for_view): Don't look into the types list if it's empty. svn path=/trunk/; revision=15954 --- shell/e-shell-user-creatable-items-handler.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'shell/e-shell-user-creatable-items-handler.c') diff --git a/shell/e-shell-user-creatable-items-handler.c b/shell/e-shell-user-creatable-items-handler.c index 1aa57ebcef..738475a06e 100644 --- a/shell/e-shell-user-creatable-items-handler.c +++ b/shell/e-shell-user-creatable-items-handler.c @@ -289,6 +289,9 @@ get_default_action_for_view (EShellUserCreatableItemsHandler *handler, const char *component_id; component = (const Component *) p->data; + if (component->type_list->_length == 0) + continue; + type = & component->type_list->_buffer[0]; component_id = evolution_shell_component_client_get_id (component->component_client); -- cgit v1.2.3