[calls] record-row: Chain up early to constructed()



commit 8e23d77508b88dadad5bd9e7a4c965d320430f78
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Sat Jul 23 15:17:39 2022 +0200

    record-row: Chain up early to constructed()

 src/calls-call-record-row.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/calls-call-record-row.c b/src/calls-call-record-row.c
index 2dec9a55..8b2a4131 100644
--- a/src/calls-call-record-row.c
+++ b/src/calls-call-record-row.c
@@ -448,6 +448,8 @@ constructed (GObject *object)
   g_autofree char *action_name = NULL;
   g_autofree char *target = NULL;
 
+  G_OBJECT_CLASS (calls_call_record_row_parent_class)->constructed (object);
+
   g_object_get (self->record,
                 "inbound", &inbound,
                 "answered", &answered,
@@ -474,8 +476,6 @@ constructed (GObject *object)
   calls_date_time_unref (end);
 
   setup_contact (self);
-
-  G_OBJECT_CLASS (calls_call_record_row_parent_class)->constructed (object);
 }
 
 


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