[calls] history-box: Chain up to constructed() early



commit fd5a24f853e75a497171f3eceda906cfef0b9fd5
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Wed Jul 27 16:25:16 2022 +0200

    history-box: Chain up to constructed() early

 src/calls-history-box.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calls-history-box.c b/src/calls-history-box.c
index d419d380..092565f5 100644
--- a/src/calls-history-box.c
+++ b/src/calls-history-box.c
@@ -147,6 +147,8 @@ constructed (GObject *object)
 
   g_assert (self->model != NULL);
 
+  G_OBJECT_CLASS (calls_history_box_parent_class)->constructed (object);
+
   self->model_changed_handler_id =
     g_signal_connect_swapped
       (self->model, "items-changed", G_CALLBACK (update), self);
@@ -159,8 +161,6 @@ constructed (GObject *object)
                            NULL);
 
   update (self);
-
-  G_OBJECT_CLASS (calls_history_box_parent_class)->constructed (object);
 }
 
 


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