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:
@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user