[gnome-online-accounts] Revert "provider: Add a new vfunc for backend-specific initialization"
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts] Revert "provider: Add a new vfunc for backend-specific initialization"
- Date: Tue, 17 Apr 2018 15:31:32 +0000 (UTC)
commit 1ac2bd8c8ffd4c799a2f3629ebc40d14f636b80c
Author: Debarshi Ray <debarshir gnome org>
Date: Tue Apr 17 11:16:58 2018 +0200
Revert "provider: Add a new vfunc for backend-specific initialization"
This vfunc was only used by the Telepathy provider, and is now unused.
This reverts commit e2f64a91e45cdbdeb0651231f7ccd513903237cf.
https://bugzilla.gnome.org/show_bug.cgi?id=795322
src/goabackend/goaprovider-priv.h | 4 ----
src/goabackend/goaprovider.c | 18 ------------------
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index 4244e01..b874eb9 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -52,7 +52,6 @@ G_BEGIN_DECLS
* @ensure_credentials_sync: Virtual function for goa_provider_ensure_credentials_sync().
* @show_account: Virtual function for goa_provider_show_account().
* @get_credentials_generation: Virtual function for goa_provider_get_credentials_generation().
- * @initialize: Virtual function for goa_provider_initialize().
*
* Class structure for #GoaProvider.
*/
@@ -93,7 +92,6 @@ struct _GoaProviderClass
guint (*get_credentials_generation) (GoaProvider *self);
GIcon *(*get_provider_icon) (GoaProvider *self,
GoaObject *object);
- void (*initialize) (GoaProvider *self);
void (*remove_account) (GoaProvider *self,
GoaObject *object,
GCancellable *cancellable,
@@ -153,8 +151,6 @@ gboolean goa_provider_ensure_credentials_sync (GoaProvider
GCancellable *cancellable,
GError **error);
-void goa_provider_initialize (GoaProvider *self);
-
void goa_provider_remove_account (GoaProvider *self,
GoaObject *object,
GCancellable *cancellable,
diff --git a/src/goabackend/goaprovider.c b/src/goabackend/goaprovider.c
index 4a79c28..003b142 100644
--- a/src/goabackend/goaprovider.c
+++ b/src/goabackend/goaprovider.c
@@ -77,8 +77,6 @@ static guint goa_provider_get_credentials_generation_real (GoaProvider *self);
static GIcon *goa_provider_get_provider_icon_real (GoaProvider *self,
GoaObject *object);
-static void goa_provider_initialize_real (GoaProvider *self);
-
static void goa_provider_remove_account_real (GoaProvider *self,
GoaObject *object,
GCancellable *cancellable,
@@ -227,7 +225,6 @@ goa_provider_class_init (GoaProviderClass *klass)
klass->ensure_credentials_sync = goa_provider_ensure_credentials_sync_real;
klass->get_credentials_generation = goa_provider_get_credentials_generation_real;
klass->get_provider_icon = goa_provider_get_provider_icon_real;
- klass->initialize = goa_provider_initialize_real;
klass->remove_account = goa_provider_remove_account_real;
klass->remove_account_finish = goa_provider_remove_account_finish_real;
klass->show_account = goa_provider_show_account_real;
@@ -399,21 +396,6 @@ goa_provider_get_provider_features (GoaProvider *self)
/* ---------------------------------------------------------------------------------------------------- */
-void
-goa_provider_initialize (GoaProvider *self)
-{
- g_return_if_fail (GOA_IS_PROVIDER (self));
-
- GOA_PROVIDER_GET_CLASS (self)->initialize (self);
-}
-
-static void
-goa_provider_initialize_real (GoaProvider *self)
-{
-}
-
-/* ---------------------------------------------------------------------------------------------------- */
-
/**
* goa_provider_add_account:
* @self: A #GoaProvider.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]