[gnome-online-accounts] Reorder GoaProviderClass fields as it's private now



commit fe9df84f5aceb85f280a77639a7dc9c2791a9a47
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Thu Jul 30 22:33:34 2015 +0200

    Reorder GoaProviderClass fields as it's private now
    
    We can group all pure virtual functions together, and drop the structure
    padding as GoaProvider is not publicly exposed anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=752941

 src/goabackend/goaprovider-priv.h |   11 +++--------
 1 files changed, 3 insertions(+), 8 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index 4591860..6697f52 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -82,6 +82,9 @@ struct _GoaProviderClass
                                      GDBusConnection    *connection,
                                      gboolean            just_added,
                                      GError            **error);
+  GoaProviderGroup     (*get_provider_group)        (GoaProvider   *self);
+  GoaProviderFeatures  (*get_provider_features)     (GoaProvider   *self);
+
   /* virtual but with default implementation */
   void         (*show_account)      (GoaProvider         *self,
                                      GoaClient           *client,
@@ -95,14 +98,6 @@ struct _GoaProviderClass
                                        GCancellable        *cancellable,
                                        GError             **error);
   guint    (*get_credentials_generation) (GoaProvider   *self);
-
-  /* pure virtual */
-  GoaProviderGroup (*get_provider_group) (GoaProvider   *self);
-  GoaProviderFeatures  (*get_provider_features)     (GoaProvider   *self);
-
-  /*< private >*/
-  /* Padding for future expansion */
-  gpointer goa_reserved[31];
 };
 
 /**



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