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
This commit is contained in:
Dan Winship
2002-03-06 23:33:35 +00:00
parent 7324c70f41
commit a3dfdc714c
3 changed files with 15 additions and 2 deletions

View File

@ -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);