calendar-management/pages: Subclass AdwBin
It's simpler.
This commit is contained in:
@@ -42,7 +42,7 @@ typedef enum
|
||||
|
||||
struct _GcalNewCalendarPage
|
||||
{
|
||||
GtkBox parent;
|
||||
AdwBin 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, GTK_TYPE_BOX,
|
||||
G_DEFINE_TYPE_WITH_CODE (GcalNewCalendarPage, gcal_new_calendar_page, ADW_TYPE_BIN,
|
||||
G_IMPLEMENT_INTERFACE (GCAL_TYPE_CALENDAR_MANAGEMENT_PAGE,
|
||||
gcal_calendar_management_page_iface_init))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user