1
0
Fork 0
mirror of https://gitlab.gnome.org/GNOME/calls.git synced 2024-12-04 20:07:36 +00:00

record-store: Simplify struct setup of record call data

Just a mechanical change that results in -2 lines.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
This commit is contained in:
Evangelos Ribeiro Tzaras 2024-09-11 15:58:13 +02:00
parent 3b1cf7b5ee
commit 5eabbb2ada

View file

@ -487,10 +487,8 @@ record_call (CallsRecordStore *self,
record, g_object_unref);
data = g_new (struct CallsRecordCallData, 1);
g_object_ref (self);
g_object_ref (call);
data->self = self;
data->call = call;
data->self = g_object_ref (self);
data->call = g_object_ref (call);
gom_resource_save_async (GOM_RESOURCE (record),
(GAsyncReadyCallback) record_call_save_cb,