[gnome-online-accounts/wip/rishi/fedora-provider: 1/6] exchange: Style fix
- From: Debarshi Ray <debarshir src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-online-accounts/wip/rishi/fedora-provider: 1/6] exchange: Style fix
- Date: Sun, 4 Aug 2019 22:42:11 +0000 (UTC)
commit b3b9fb5a6625f7b1334c00dfb49e4a6a09b6ecc4
Author: Debarshi Ray <debarshir gnome org>
Date: Sun Aug 4 22:59:52 2019 +0200
exchange: Style fix
src/goabackend/goaexchangeprovider.c | 54 +++++++++++++++++-------------------
1 file changed, 26 insertions(+), 28 deletions(-)
---
diff --git a/src/goabackend/goaexchangeprovider.c b/src/goabackend/goaexchangeprovider.c
index 6a1c779b..46d43149 100644
--- a/src/goabackend/goaexchangeprovider.c
+++ b/src/goabackend/goaexchangeprovider.c
@@ -269,6 +269,32 @@ ensure_credentials_sync (GoaProvider *provider,
/* ---------------------------------------------------------------------------------------------------- */
+typedef struct
+{
+ GCancellable *cancellable;
+
+ GtkDialog *dialog;
+ GMainLoop *loop;
+
+ GtkWidget *cluebar;
+ GtkWidget *cluebar_label;
+ GtkWidget *connect_button;
+ GtkWidget *progress_grid;
+
+ GtkWidget *email_address;
+ GtkWidget *password;
+
+ GtkWidget *expander;
+ GtkWidget *username;
+ GtkWidget *server;
+
+ gchar *account_object_path;
+
+ GError *error;
+} AddAccountData;
+
+/* ---------------------------------------------------------------------------------------------------- */
+
static void
add_entry (GtkWidget *grid,
gint row,
@@ -296,34 +322,6 @@ add_entry (GtkWidget *grid,
*out_entry = entry;
}
-/* ---------------------------------------------------------------------------------------------------- */
-
-typedef struct
-{
- GCancellable *cancellable;
-
- GtkDialog *dialog;
- GMainLoop *loop;
-
- GtkWidget *cluebar;
- GtkWidget *cluebar_label;
- GtkWidget *connect_button;
- GtkWidget *progress_grid;
-
- GtkWidget *email_address;
- GtkWidget *password;
-
- GtkWidget *expander;
- GtkWidget *username;
- GtkWidget *server;
-
- gchar *account_object_path;
-
- GError *error;
-} AddAccountData;
-
-/* ---------------------------------------------------------------------------------------------------- */
-
static void
on_email_address_or_password_changed (GtkEditable *editable, gpointer user_data)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]