[gnome-online-accounts] flickr: Implement get_provider_group
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] flickr: Implement get_provider_group
- Date: Tue, 13 Nov 2012 11:03:47 +0000 (UTC)
commit d1dd954d77a9c71cb79ee5613d7091a58f2295c9
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Nov 13 11:55:39 2012 +0100
flickr: Implement get_provider_group
src/goabackend/goaflickrprovider.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/src/goabackend/goaflickrprovider.c b/src/goabackend/goaflickrprovider.c
index 16f24c7..b960cb2 100644
--- a/src/goabackend/goaflickrprovider.c
+++ b/src/goabackend/goaflickrprovider.c
@@ -78,6 +78,12 @@ get_provider_name (GoaProvider *_provider,
return g_strdup (_("Flickr"));
}
+static GoaProviderGroup
+get_provider_group (GoaProvider *_provider)
+{
+ return GOA_PROVIDER_GROUP_BRANDED;
+}
+
static const gchar *
get_consumer_key (GoaOAuthProvider *provider)
{
@@ -372,6 +378,7 @@ goa_flickr_provider_class_init (GoaFlickrProviderClass *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]