[gnome-online-accounts/wip/rishi/libsecret-workaround: 2/5] provider: Clean up the public header
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/libsecret-workaround: 2/5] provider: Clean up the public header
- Date: Fri, 14 Jul 2017 11:03:17 +0000 (UTC)
commit 37624de9e27be8777e4bc42e6d5fc2142691b1fb
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jul 13 19:21:37 2017 +0200
provider: Clean up the public header
The goa_provider_ensure_credentials* APIs are only meant for the daemon
to communicate with the GoaProvider sub-classes. Therefore, there is no
need to export them as public API. They are not meant for external
consumers of libgoa-backend-1.0.so, like gnome-control-center and
gnome-initial-setup.
https://bugzilla.gnome.org/show_bug.cgi?id=784944
src/goabackend/goaprovider-priv.h | 17 +++++++++++++++++
src/goabackend/goaprovider.h | 17 -----------------
2 files changed, 17 insertions(+), 17 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index 6b85638..ca93aee 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -128,6 +128,23 @@ void goa_provider_ensure_builtins_loaded (void);
void goa_provider_ensure_extension_points_registered (void);
+void goa_provider_ensure_credentials (GoaProvider *self,
+ GoaObject *object,
+ GCancellable *cancellable,
+ GAsyncReadyCallback callback,
+ gpointer user_data);
+
+gboolean goa_provider_ensure_credentials_finish (GoaProvider *self,
+ gint *out_expires_in,
+ GAsyncResult *res,
+ GError **error);
+
+gboolean goa_provider_ensure_credentials_sync (GoaProvider *self,
+ GoaObject *object,
+ gint *out_expires_in,
+ GCancellable *cancellable,
+ GError **error);
+
void goa_provider_initialize (GoaProvider *self);
void goa_provider_remove_account (GoaProvider *self,
diff --git a/src/goabackend/goaprovider.h b/src/goabackend/goaprovider.h
index e8a1412..eeecc02 100644
--- a/src/goabackend/goaprovider.h
+++ b/src/goabackend/goaprovider.h
@@ -79,23 +79,6 @@ gboolean goa_provider_build_object (GoaProvider
gboolean just_added,
GError **error);
-void goa_provider_ensure_credentials (GoaProvider *self,
- GoaObject *object,
- GCancellable *cancellable,
- GAsyncReadyCallback callback,
- gpointer user_data);
-
-gboolean goa_provider_ensure_credentials_finish (GoaProvider *self,
- gint *out_expires_in,
- GAsyncResult *res,
- GError **error);
-
-gboolean goa_provider_ensure_credentials_sync (GoaProvider *self,
- GoaObject *object,
- gint *out_expires_in,
- GCancellable *cancellable,
- GError **error);
-
guint goa_provider_get_credentials_generation (GoaProvider *self);
void goa_provider_get_all (GAsyncReadyCallback callback,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]