[calls] record-store: Get rid of unused code



commit 3e22ef8c74543002c360cfeb8ec1f67ef7a36a0f
Author: Evangelos Ribeiro Tzaras <devrtz fortysixandtwo eu>
Date:   Wed Dec 1 14:28:14 2021 +0100

    record-store: Get rid of unused code

 src/calls-record-store.c | 7 -------
 1 file changed, 7 deletions(-)
---
diff --git a/src/calls-record-store.c b/src/calls-record-store.c
index d1240b24..e47414be 100644
--- a/src/calls-record-store.c
+++ b/src/calls-record-store.c
@@ -158,7 +158,6 @@ load_calls_fetch_cb (GomResourceGroup *group,
   for (i = 0; i < count; ++i) {
     GomResource *resource;
     CallsCallRecord *record;
-    GDateTime *end = NULL;
 
     resource = gom_resource_group_get_index (group, i);
     g_assert (resource != NULL);
@@ -167,12 +166,6 @@ load_calls_fetch_cb (GomResourceGroup *group,
 
     records[i] = record;
 
-    g_object_get (G_OBJECT (record),
-                  "end", &end,
-                  NULL);
-    if (end)
-      g_date_time_unref (end);
-
     g_signal_connect (record,
                       "call-delete",
                       G_CALLBACK (delete_call_cb),


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