From 861ea19a6246e9be4249afc33a0c94f8c26bfe37 Mon Sep 17 00:00:00 2001 From: Anton Lazarev Date: Sun, 17 Dec 2023 23:37:51 -0800 Subject: [PATCH] calls-account-overview: Use `content` property for `AdwWindow` https://gnome.pages.gitlab.gnome.org/libadwaita/doc/main/migrating-libhandy-1-4-to-libadwaita.html#adapt-to-gtkcontainer-removal Part-of: --- src/calls-account-overview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/calls-account-overview.c b/src/calls-account-overview.c index e170b68..be8df08 100644 --- a/src/calls-account-overview.c +++ b/src/calls-account-overview.c @@ -150,7 +150,7 @@ attach_account_widget (CallsAccountOverview *self, if (widget == self->current_account_widget) return; - gtk_window_set_child (self->account_window, widget); + adw_window_set_content (ADW_WINDOW (self->account_window), widget); self->current_account_widget = widget; }