From fd5a24f853e75a497171f3eceda906cfef0b9fd5 Mon Sep 17 00:00:00 2001
From: Evangelos Ribeiro Tzaras <devrtz@fortysixandtwo.eu>
Date: Wed, 27 Jul 2022 16:25:16 +0200
Subject: [PATCH] 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 d419d38..092565f 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);
 }