calls-record-store: GtkApplicationWindow is not a GListModel

I'm not sure how this worked in GTK3, but it doesn't anymore. The list
model is now composed with the record store instead of inherited.

Part-of: <https://gitlab.gnome.org/GNOME/calls/-/merge_requests/714>
This commit is contained in:
Anton Lazarev
2023-12-16 12:58:31 -08:00
parent 0a3ce1d701
commit 8aea5498d7
3 changed files with 19 additions and 11 deletions

View File

@@ -668,7 +668,7 @@ start_proper (CallsApplication *self)
self->main_window =
calls_main_window_new (gtk_app,
G_LIST_MODEL (self->record_store));
calls_record_store_get_list_model (self->record_store));
g_assert (self->main_window != NULL);
self->call_window = calls_call_window_new (gtk_app);