[gnome-online-accounts/gnome-3-20] provider: Be more strict about what is acceptable
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-20] provider: Be more strict about what is acceptable
- Date: Thu, 14 Jul 2016 15:55:01 +0000 (UTC)
commit 16f883ead67e783f9b15c8b7bfa4eb9d8ed4cd2d
Author: Debarshi Ray <debarshir gnome org>
Date: Tue May 3 19:04:42 2016 +0200
provider: Be more strict about what is acceptable
src/goabackend/goaprovider.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index fa60f69..64e305e 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -782,8 +782,10 @@ goa_provider_ensure_credentials_sync (GoaProvider *self,
GError **error)
{
g_return_val_if_fail (GOA_IS_PROVIDER (self), FALSE);
+ g_return_val_if_fail (GOA_IS_OBJECT (object), FALSE);
g_return_val_if_fail (cancellable == NULL || G_IS_CANCELLABLE (cancellable), FALSE);
g_return_val_if_fail (error == NULL || *error == NULL, FALSE);
+
return GOA_PROVIDER_GET_CLASS (self)->ensure_credentials_sync (self, object, out_expires_in, cancellable,
error);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]