gpg: Fix _ostree_gpg_verifier_add_keyring()
The function never fails, but its API makes it look like it can. Fortunately it's private, so just fix it.
This commit is contained in:
1 parent
e7246e6d64
commit
f162c0b6d6
3 files changed
+7
-13
No files matched your search
@@ -259,16 +259,13 @@ out:
|
||||
return result;
|
||||
}
|
||||
|
||||
gboolean
|
||||
void
|
||||
_ostree_gpg_verifier_add_keyring (OstreeGpgVerifier *self,
|
||||
GFile *path,
|
||||
GCancellable *cancellable,
|
||||
GError **error)
|
||||
GFile *path)
|
||||
{
|
||||
g_return_val_if_fail (path != NULL, FALSE);
|
||||
g_return_if_fail (G_IS_FILE (path));
|
||||
|
||||
self->keyrings = g_list_append (self->keyrings, g_object_ref (path));
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
gboolean
|
||||
|
||||
Reference in new issue
Block a user