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:
@@ -61,7 +61,6 @@ struct _GcalEventEditorDialog
|
|||||||
GcalEventEditorSection *notes_section;
|
GcalEventEditorSection *notes_section;
|
||||||
GcalEventEditorSection *reminders_section;
|
GcalEventEditorSection *reminders_section;
|
||||||
GcalEventEditorSection *schedule_section;
|
GcalEventEditorSection *schedule_section;
|
||||||
GtkWidget *source_label;
|
|
||||||
GcalEventEditorSection *summary_section;
|
GcalEventEditorSection *summary_section;
|
||||||
GcalEventEditorSection *attendees_section;
|
GcalEventEditorSection *attendees_section;
|
||||||
GtkWidget *nav_view;
|
GtkWidget *nav_view;
|
||||||
@@ -72,12 +71,8 @@ struct _GcalEventEditorDialog
|
|||||||
GcalEventEditorSection *sections[5];
|
GcalEventEditorSection *sections[5];
|
||||||
|
|
||||||
|
|
||||||
GMenu *sources_menu;
|
|
||||||
|
|
||||||
GcalEvent *event;
|
GcalEvent *event;
|
||||||
|
|
||||||
GBinding *event_title_binding;
|
|
||||||
|
|
||||||
GListStore *read_only_calendar_model;
|
GListStore *read_only_calendar_model;
|
||||||
GListModel *attendees_model;
|
GListModel *attendees_model;
|
||||||
|
|
||||||
@@ -666,10 +661,6 @@ gcal_event_editor_dialog_set_event (GcalEventEditorDialog *self,
|
|||||||
|
|
||||||
calendar = gcal_event_get_calendar (cloned_event);
|
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 */
|
/* dialog's title */
|
||||||
if (new_event)
|
if (new_event)
|
||||||
adw_navigation_page_set_title (ADW_NAVIGATION_PAGE (self->main_page), _("New Event"));
|
adw_navigation_page_set_title (ADW_NAVIGATION_PAGE (self->main_page), _("New Event"));
|
||||||
|
|||||||
Reference in New Issue
Block a user