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

record-row: Remove unnecessary cast

g_object_get() wants a gpointer,
so there is no need for casting to GObject*.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/755>
This commit is contained in:
Evangelos Ribeiro Tzaras 2024-09-11 15:07:40 +02:00
parent 5473f03be9
commit 32b8995f2d

View file

@ -189,7 +189,7 @@ date_change_cb (CallsCallRecordRow *self)
GDateTime *end;
gboolean final;
g_object_get (G_OBJECT (self->record),
g_object_get (self->record,
"end", &end,
NULL);
g_assert (end != NULL);