From cda1362c593dd5e59c123360606384bc5548ca07 Mon Sep 17 00:00:00 2001 From: Hari Rana Date: Sun, 1 Mar 2026 10:22:08 -0500 Subject: [PATCH] event-editor/event-editor-section: Add AdwPreferencesGroup as prerequisite Part-of: --- src/gui/event-editor/gcal-event-editor-section.c | 2 +- src/gui/event-editor/gcal-event-editor-section.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 {