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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user