From ba7fe4fe8c3624f87c9332a0c3b03e96edcdaade Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 5 Jul 2012 17:11:38 +0200 Subject: [PATCH] Fix invalid pre-condition in secret_item_get_service() --- library/secret-item.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/secret-item.c b/library/secret-item.c index 81f5a2e..011b3f9 100644 --- a/library/secret-item.c +++ b/library/secret-item.c @@ -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; }