[gnome-online-accounts] live: Implement get_provider_group
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] live: Implement get_provider_group
- Date: Tue, 13 Nov 2012 11:04:02 +0000 (UTC)
commit 7c6a41247d2834b03d0a34e2cefb31beb17464c7
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 13 11:57:06 2012 +0100
live: Implement get_provider_group
src/goabackend/goawindowsliveprovider.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goawindowsliveprovider.c b/src/goabackend/goawindowsliveprovider.c
index 7844d11..a6d649b 100644
--- a/src/goabackend/goawindowsliveprovider.c
+++ b/src/goabackend/goawindowsliveprovider.c
@@ -82,6 +82,12 @@ get_provider_name (GoaProvider *_provider,
return g_strdup (_("Windows Live"));
}
+static GoaProviderGroup
+get_provider_group (GoaProvider *_provider)
+{
+ return GOA_PROVIDER_GROUP_BRANDED;
+}
+
static const gchar *
get_authorization_uri (GoaOAuth2Provider *provider)
{
@@ -436,6 +442,7 @@ goa_windows_live_provider_class_init (GoaWindowsLiveProviderClass *klass)
provider_class = GOA_PROVIDER_CLASS (klass);
provider_class->get_provider_type = get_provider_type;
provider_class->get_provider_name = get_provider_name;
+ provider_class->get_provider_group = get_provider_group;
provider_class->build_object = build_object;
provider_class->show_account = show_account;
provider_class->get_credentials_generation = get_credentials_generation;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]