main-window: Drop confusing cast

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/795>
This commit is contained in:
Guido Günther
2025-10-13 11:31:48 +02:00
parent 3d5ff3dbdc
commit 57b99a3a55

View File

@@ -297,8 +297,7 @@ set_property (GObject *object,
switch (property_id) { switch (property_id) {
case PROP_RECORD_STORE: case PROP_RECORD_STORE:
g_set_object (&self->record_store, g_set_object (&self->record_store, g_value_get_object (value));
G_LIST_MODEL (g_value_get_object (value)));
break; break;
default: default: