From a36a63d7e42f5a21ecc3755db2570ce2b379f5ff Mon Sep 17 00:00:00 2001 From: Christopher Davis Date: Mon, 3 Jul 2023 21:54:23 -0400 Subject: [PATCH] main_window: Use AdwApplicationWindow The main window of an app should be an ApplicationWindow. These windows provide nicer APIs for actions and more. --- main/src/ui/main_window.vala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/src/ui/main_window.vala b/main/src/ui/main_window.vala index 9121b91e..dd54052e 100644 --- a/main/src/ui/main_window.vala +++ b/main/src/ui/main_window.vala @@ -6,7 +6,7 @@ using Dino.Entities; namespace Dino.Ui { -public class MainWindow : Adw.Window { +public class MainWindow : Adw.ApplicationWindow { public signal void conversation_selected(Conversation conversation);