[gnome-online-accounts/gnome-3-20] provider: Re-align the function prototypes
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/gnome-3-20] provider: Re-align the function prototypes
- Date: Thu, 14 Jul 2016 16:52:27 +0000 (UTC)
commit 282566490529958af6db831f48093c9bbec4b7ea
Author: Debarshi Ray <debarshir gnome org>
Date: Fri May 20 18:42:01 2016 +0200
provider: Re-align the function prototypes
https://bugzilla.gnome.org/show_bug.cgi?id=766733
src/goabackend/goaprovider-priv.h | 4 +-
src/goabackend/goaprovider.h | 130 +++++++++++++++++++++----------------
2 files changed, 75 insertions(+), 59 deletions(-)
---
diff --git a/src/goabackend/goaprovider-priv.h b/src/goabackend/goaprovider-priv.h
index cf12e28..9926a23 100644
--- a/src/goabackend/goaprovider-priv.h
+++ b/src/goabackend/goaprovider-priv.h
@@ -114,9 +114,9 @@ struct _GoaProviderClass
*/
#define GOA_PROVIDER_FACTORY_EXTENSION_POINT_NAME "goa-backend-provider-factory"
-void goa_provider_ensure_builtins_loaded (void);
+void goa_provider_ensure_builtins_loaded (void);
-void goa_provider_ensure_extension_points_registered (void);
+void goa_provider_ensure_extension_points_registered (void);
G_END_DECLS
diff --git a/src/goabackend/goaprovider.h b/src/goabackend/goaprovider.h
index 3c18d92..1a59fbe 100644
--- a/src/goabackend/goaprovider.h
+++ b/src/goabackend/goaprovider.h
@@ -38,64 +38,80 @@ G_BEGIN_DECLS
typedef struct _GoaProviderClass GoaProviderClass;
typedef struct _GoaProviderPrivate GoaProviderPrivate;
-GType goa_provider_get_type (void) G_GNUC_CONST;
-const gchar *goa_provider_get_provider_type (GoaProvider *self);
-gchar *goa_provider_get_provider_name (GoaProvider *self,
- GoaObject *object);
-GIcon *goa_provider_get_provider_icon (GoaProvider *self,
- GoaObject *object);
+GType goa_provider_get_type (void) G_GNUC_CONST;
+
+const gchar *goa_provider_get_provider_type (GoaProvider *self);
+
+gchar *goa_provider_get_provider_name (GoaProvider *self,
+ GoaObject *object);
+
+GIcon *goa_provider_get_provider_icon (GoaProvider *self,
+ GoaObject *object);
+
G_DEPRECATED_FOR(goa_provider_get_provider_features)
-GoaProviderGroup goa_provider_get_provider_group (GoaProvider *self);
-GoaProviderFeatures goa_provider_get_provider_features (GoaProvider *self);
-void goa_provider_set_preseed_data (GoaProvider *self,
- GVariant *preseed_data);
-GVariant *goa_provider_get_preseed_data (GoaProvider *self);
-GoaObject *goa_provider_add_account (GoaProvider *self,
- GoaClient *client,
- GtkDialog *dialog,
- GtkBox *vbox,
- GError **error);
-gboolean goa_provider_refresh_account (GoaProvider *self,
- GoaClient *client,
- GoaObject *object,
- GtkWindow *parent,
- GError **error);
-void goa_provider_show_account (GoaProvider *self,
- GoaClient *client,
- GoaObject *object,
- GtkBox *vbox,
- GtkGrid *grid,
- GtkGrid *dummy);
-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,
- 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,
- gpointer user_data);
-gboolean goa_provider_get_all_finish (GList **out_providers,
- GAsyncResult *result,
- GError **error);
-
-GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_type);
+GoaProviderGroup goa_provider_get_provider_group (GoaProvider *self);
+
+GoaProviderFeatures goa_provider_get_provider_features (GoaProvider *self);
+
+void goa_provider_set_preseed_data (GoaProvider *self,
+ GVariant *preseed_data);
+
+GVariant *goa_provider_get_preseed_data (GoaProvider *self);
+
+GoaObject *goa_provider_add_account (GoaProvider *self,
+ GoaClient *client,
+ GtkDialog *dialog,
+ GtkBox *vbox,
+ GError **error);
+
+gboolean goa_provider_refresh_account (GoaProvider *self,
+ GoaClient *client,
+ GoaObject *object,
+ GtkWindow *parent,
+ GError **error);
+
+void goa_provider_show_account (GoaProvider *self,
+ GoaClient *client,
+ GoaObject *object,
+ GtkBox *vbox,
+ GtkGrid *grid,
+ GtkGrid *dummy);
+
+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,
+ 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,
+ gpointer user_data);
+
+gboolean goa_provider_get_all_finish (GList **out_providers,
+ GAsyncResult *result,
+ GError **error);
+
+GoaProvider *goa_provider_get_for_provider_type (const gchar *provider_type);
/* ---------------------------------------------------------------------------------------------------- */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]