diff --git a/src/calls-main-window.c b/src/calls-main-window.c index 57c3fd3..b764547 100644 --- a/src/calls-main-window.c +++ b/src/calls-main-window.c @@ -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, diff --git a/src/calls-main-window.h b/src/calls-main-window.h index 2627704..a058ff4 100644 --- a/src/calls-main-window.h +++ b/src/calls-main-window.h @@ -25,13 +25,13 @@ #ifndef CALLS_MAIN_WINDOW_H__ #define CALLS_MAIN_WINDOW_H__ -#include +#include G_BEGIN_DECLS #define CALLS_TYPE_MAIN_WINDOW (calls_main_window_get_type ()) -G_DECLARE_FINAL_TYPE (CallsMainWindow, calls_main_window, CALLS, MAIN_WINDOW, GtkApplicationWindow); +G_DECLARE_FINAL_TYPE (CallsMainWindow, calls_main_window, CALLS, MAIN_WINDOW, HdyApplicationWindow); CallsMainWindow *calls_main_window_new (GtkApplication *application, GListModel *record_store); diff --git a/src/ui/main-window.ui b/src/ui/main-window.ui index c6393aa..d2fcf37 100644 --- a/src/ui/main-window.ui +++ b/src/ui/main-window.ui @@ -3,12 +3,33 @@ -