[calls/wip/ui-manage-accounts: 26/26] TODO check later




commit aa3f4d4aba7644606fcb2ba14afad2f27294dd67
Author: Evangelos Ribeiro Tzaras <evangelos tzaras puri sm>
Date:   Thu Jul 1 14:35:23 2021 +0200

    TODO check later

 src/calls-account-overview.c | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)
---
diff --git a/src/calls-account-overview.c b/src/calls-account-overview.c
index 25cb360c..a24815bf 100644
--- a/src/calls-account-overview.c
+++ b/src/calls-account-overview.c
@@ -340,7 +340,7 @@ credentials_from_form (CallsAccountOverview *self)
   g_assert (CALLS_IS_ACCOUNT_OVERVIEW (self));
 
   credentials_name = g_strdup_printf ("%d-%s", self->last_credentials++,
-                                     gtk_entry_get_text (GTK_ENTRY (self->host)));
+                                      gtk_entry_get_text (GTK_ENTRY (self->host)));
 
   g_debug ("Trying to login");
 
@@ -486,9 +486,10 @@ on_manager_state_changed (CallsAccountOverview *self)
 
 
 static void
-on_account_state_updated (CallsAccountOverview *self,
+on_account_state_updated (CallsAccountManager  *manager,
                           const char           *uuid,
-                          CallsAccountState     state)
+                          CallsAccountState     state,
+                          CallsAccountOverview *self)
 {
   CallsAccountRow *row;
 
@@ -608,10 +609,10 @@ calls_account_overview_constructed (GObject *object)
                             G_CALLBACK (on_manager_state_changed),
                             self);
 
-  g_signal_connect_swapped (self->manager,
-                            "account-state-updated",
-                            G_CALLBACK (on_account_state_updated),
-                            self);
+  g_signal_connect (self->manager,
+                    "account-state-updated",
+                    G_CALLBACK (on_account_state_updated),
+                    self);
 
   credentials = calls_account_manager_get_credentials_list (self->manager);
   g_signal_connect (credentials,


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