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:
parent
3b1cf7b5ee
commit
5eabbb2ada
1 changed files with 2 additions and 4 deletions
|
@ -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,
|
||||
|
|
Loading…
Reference in a new issue