main-window: Make it a HdyApplicationWindow

This gives the window some nice rounded corners, and gives us more
freedom in how to implement the UI.

This purposefully leaves the indentation broken to ease code review, it
will be fixed in the next commit.
This commit is contained in:
Adrien Plazas
2021-07-15 09:35:32 +02:00
committed by Evangelos Ribeiro Tzaras
parent c90d01405d
commit f4f41d9db5
3 changed files with 26 additions and 20 deletions

View File

@@ -42,7 +42,7 @@
struct _CallsMainWindow
{
GtkApplicationWindow parent_instance;
HdyApplicationWindow parent_instance;
GListModel *record_store;
@@ -67,7 +67,7 @@ struct _CallsMainWindow
GtkButton *ussd_reply_button;
};
G_DEFINE_TYPE (CallsMainWindow, calls_main_window, GTK_TYPE_APPLICATION_WINDOW);
G_DEFINE_TYPE (CallsMainWindow, calls_main_window, HDY_TYPE_APPLICATION_WINDOW);
enum {
PROP_0,