event-editor/event-editor-dialog: Remove unused struct members

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/784>
This commit is contained in:
Hari Rana
2026-06-26 07:54:24 -04:00
parent 2ee6dfc5e7
commit a0b8f4b23e
@@ -61,7 +61,6 @@ struct _GcalEventEditorDialog
GcalEventEditorSection *notes_section;
GcalEventEditorSection *reminders_section;
GcalEventEditorSection *schedule_section;
GtkWidget *source_label;
GcalEventEditorSection *summary_section;
GcalEventEditorSection *attendees_section;
GtkWidget *nav_view;
@@ -72,12 +71,8 @@ struct _GcalEventEditorDialog
GcalEventEditorSection *sections[5];
GMenu *sources_menu;
GcalEvent *event;
GBinding *event_title_binding;
GListStore *read_only_calendar_model;
GListModel *attendees_model;
@@ -666,10 +661,6 @@ gcal_event_editor_dialog_set_event (GcalEventEditorDialog *self,
calendar = gcal_event_get_calendar (cloned_event);
/* update sources list */
if (self->sources_menu != NULL)
g_menu_remove_all (self->sources_menu);
/* dialog's title */
if (new_event)
adw_navigation_page_set_title (ADW_NAVIGATION_PAGE (self->main_page), _("New Event"));