diff --git a/src/gui/event-editor/gcal-event-editor-section.c b/src/gui/event-editor/gcal-event-editor-section.c index 58bda687..4fc11956 100644 --- a/src/gui/event-editor/gcal-event-editor-section.c +++ b/src/gui/event-editor/gcal-event-editor-section.c @@ -20,7 +20,7 @@ #include "gcal-event-editor-section.h" -G_DEFINE_INTERFACE (GcalEventEditorSection, gcal_event_editor_section, GTK_TYPE_WIDGET) +G_DEFINE_INTERFACE (GcalEventEditorSection, gcal_event_editor_section, ADW_TYPE_PREFERENCES_GROUP) static void gcal_event_editor_section_default_init (GcalEventEditorSectionInterface *iface) diff --git a/src/gui/event-editor/gcal-event-editor-section.h b/src/gui/event-editor/gcal-event-editor-section.h index 85e2a386..bc417060 100644 --- a/src/gui/event-editor/gcal-event-editor-section.h +++ b/src/gui/event-editor/gcal-event-editor-section.h @@ -22,13 +22,13 @@ #include "gcal-event.h" -#include +#include G_BEGIN_DECLS #define GCAL_TYPE_EVENT_EDITOR_SECTION (gcal_event_editor_section_get_type ()) -G_DECLARE_INTERFACE (GcalEventEditorSection, gcal_event_editor_section, GCAL, EVENT_EDITOR_SECTION, GtkBox) +G_DECLARE_INTERFACE (GcalEventEditorSection, gcal_event_editor_section, GCAL, EVENT_EDITOR_SECTION, AdwPreferencesGroup) typedef enum {