event-editor/notes: Make it an AdwPreferencesRow

This commit is contained in:
Hari Rana
2025-04-21 13:32:45 -04:00
parent 9281b1b964
commit 140dd3b145
3 changed files with 8 additions and 5 deletions
+2 -2
View File
@@ -27,7 +27,7 @@
struct _GcalNotesSection
{
AdwBin parent;
AdwPreferencesRow parent;
GtkTextView *notes_text;
@@ -37,7 +37,7 @@ struct _GcalNotesSection
static void gcal_event_editor_section_iface_init (GcalEventEditorSectionInterface *iface);
G_DEFINE_TYPE_WITH_CODE (GcalNotesSection, gcal_notes_section, ADW_TYPE_BIN,
G_DEFINE_TYPE_WITH_CODE (GcalNotesSection, gcal_notes_section, ADW_TYPE_PREFERENCES_ROW,
G_IMPLEMENT_INTERFACE (GCAL_TYPE_EVENT_EDITOR_SECTION, gcal_event_editor_section_iface_init))
enum