calendar-management: Switch to HdyWindow

Make GcalCalendarManagementDialog an HdyWindow subclass,
and adapt the widgetry to work with the new parent class.

Use HdyHeaderBar everywhere.
This commit is contained in:
Georges Basile Stavracas Neto
2021-08-06 17:32:58 -03:00
parent 36278b1bb4
commit 8c71c60e8d
7 changed files with 68 additions and 65 deletions
@@ -19,12 +19,11 @@
#pragma once
#include <glib-object.h>
#include "gcal-application.h"
#include "gcal-manager.h"
#include <libecal/libecal.h>
#include <gtk/gtk.h>
#include <handy.h>
G_BEGIN_DECLS
@@ -35,6 +34,8 @@ G_BEGIN_DECLS
G_DECLARE_FINAL_TYPE (GcalCalendarManagementDialog,
gcal_calendar_management_dialog,
GCAL, CALENDAR_MANAGEMENT_DIALOG,
GtkDialog)
HdyWindow)
HdyHeaderBar* gcal_calendar_management_dialog_get_titlebar (GcalCalendarManagementDialog *self);
G_END_DECLS