mirror of
https://gitlab.gnome.org/GNOME/libsecret.git
synced 2024-12-22 20:58:52 +00:00
Fix invalid pre-condition in secret_item_get_service()
This commit is contained in:
parent
f962662b09
commit
ba7fe4fe8c
@ -1124,7 +1124,7 @@ secret_item_get_flags (SecretItem *self)
|
|||||||
SecretService *
|
SecretService *
|
||||||
secret_item_get_service (SecretItem *self)
|
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;
|
return self->pv->service;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user