window: Inherit from HdyApplicationWindow

This commit makes the toplevel GcalWindow inherit from
HdyApplicationWindow instead of GtkApplicationWindow.
This commit is contained in:
Evangelos Ribeiro Tzaras
2020-09-16 15:24:46 +00:00
committed by Georges Basile Stavracas Neto
parent 8be361b6ce
commit 402ad34f42
3 changed files with 229 additions and 220 deletions
+2 -2
View File
@@ -88,7 +88,7 @@ typedef struct
struct _GcalWindow
{
GtkApplicationWindow parent;
HdyApplicationWindow parent;
/* timeout ids */
guint notification_timeout;
@@ -179,7 +179,7 @@ enum
gtk_application_set_accels_for_action (GTK_APPLICATION (app), action, tmp);\
}
G_DEFINE_TYPE (GcalWindow, gcal_window, GTK_TYPE_APPLICATION_WINDOW)
G_DEFINE_TYPE (GcalWindow, gcal_window, HDY_TYPE_APPLICATION_WINDOW)
static GParamSpec* properties[N_PROPS] = { NULL, };