[gnome-online-accounts] facebook: Implement get_provider_group



commit 3906cec10698806ae66e4adba3c56087dc8b7cb9
Author: Debarshi Ray <debarshir gnome org>
Date:   Tue Nov 13 11:54:53 2012 +0100

    facebook: Implement get_provider_group

 src/goabackend/goafacebookprovider.c |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goafacebookprovider.c b/src/goabackend/goafacebookprovider.c
index 264a3f3..aadc218 100644
--- a/src/goabackend/goafacebookprovider.c
+++ b/src/goabackend/goafacebookprovider.c
@@ -79,6 +79,12 @@ get_provider_name (GoaProvider *_provider,
   return g_strdup (_("Facebook"));
 }
 
+static GoaProviderGroup
+get_provider_group (GoaProvider *_provider)
+{
+  return GOA_PROVIDER_GROUP_BRANDED;
+}
+
 /* facebook client flow sends a different auth query then the base
  * OAuth2Provider */
 static gchar *
@@ -416,6 +422,7 @@ goa_facebook_provider_class_init (GoaFacebookProviderClass *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;
 



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]