calendar-management: Rework page interface

Make GcalCalendarManagementPage require implementors to be
AdwNavigationPages
This commit is contained in:
Georges Basile Stavracas Neto
2024-05-01 10:44:16 -03:00
parent eaf5f55ac3
commit 57ba8e2bf1
12 changed files with 34 additions and 34 deletions
@@ -44,7 +44,7 @@ typedef enum
struct _GcalNewCalendarPage
{
AdwBin parent;
AdwNavigationPage parent;
GtkWidget *add_button;
GtkEntry *calendar_address_entry;
@@ -77,7 +77,7 @@ static void sources_discovered_cb (GObject
static void gcal_calendar_management_page_iface_init (GcalCalendarManagementPageInterface *iface);
G_DEFINE_TYPE_WITH_CODE (GcalNewCalendarPage, gcal_new_calendar_page, ADW_TYPE_BIN,
G_DEFINE_TYPE_WITH_CODE (GcalNewCalendarPage, gcal_new_calendar_page, ADW_TYPE_NAVIGATION_PAGE,
G_IMPLEMENT_INTERFACE (GCAL_TYPE_CALENDAR_MANAGEMENT_PAGE,
gcal_calendar_management_page_iface_init))