[gnome-online-accounts] provider: Clean up the public header



commit 58f3abbbfc03d1e42b760cfa852d5711cb488706
Author: Debarshi Ray <debarshir gnome org>
Date:   Fri Jul 14 13:38:40 2017 +0200

    provider: Clean up the public header
    
    The goa_provider_build_object API is only meant for the daemon to
    communicate with the GoaProvider sub-classes. Therefore, there is no
    need to export it as public API. It is not meant for external consumers
    of libgoa-backend-1.0.so, like gnome-control-center and
    gnome-initial-setup.
    
    We can now change this interface without worrying about ABI/API
    stability.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=784944

 src/goabackend/goaprovider-priv.h |    8 ++++++++
 src/goabackend/goaprovider.h      |    8 --------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index ca93aee..4244e01 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -128,6 +128,14 @@ void        goa_provider_ensure_builtins_loaded                (void);
 
 void        goa_provider_ensure_extension_points_registered    (void);
 
+gboolean    goa_provider_build_object                          (GoaProvider            *self,
+                                                                GoaObjectSkeleton      *object,
+                                                                GKeyFile               *key_file,
+                                                                const gchar            *group,
+                                                                GDBusConnection        *connection,
+                                                                gboolean                just_added,
+                                                                GError                **error);
+
 void        goa_provider_ensure_credentials                    (GoaProvider             *self,
                                                                 GoaObject               *object,
                                                                 GCancellable            *cancellable,
diff --git a/src/goabackend/goaprovider.h b/src/goabackend/goaprovider.h
index eeecc02..76ff022 100644
--- a/src/goabackend/goaprovider.h
+++ b/src/goabackend/goaprovider.h
@@ -71,14 +71,6 @@ void                   goa_provider_show_account                 (GoaProvider
                                                                   GtkGrid                *dummy1,
                                                                   GtkGrid                *dummy2);
 
-gboolean               goa_provider_build_object                 (GoaProvider            *self,
-                                                                  GoaObjectSkeleton      *object,
-                                                                  GKeyFile               *key_file,
-                                                                  const gchar            *group,
-                                                                  GDBusConnection        *connection,
-                                                                  gboolean                just_added,
-                                                                  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]