Fix invalid pre-condition in secret_item_get_service()

This commit is contained in:
Stef Walter 2012-07-05 17:11:38 +02:00
parent f962662b09
commit ba7fe4fe8c

View File

@ -1124,7 +1124,7 @@ secret_item_get_flags (SecretItem *self)
SecretService *
secret_item_get_service (SecretItem *self)
{
g_return_val_if_fail (SECRET_IS_COLLECTION (self), NULL);
g_return_val_if_fail (SECRET_IS_ITEM (self), NULL);
return self->pv->service;
}