event-editor/sections: Add vfunc to check for changes
This will be useful for next commits where we will need to check if the schedule section actually changed something.
This commit is contained in:
@@ -45,6 +45,8 @@ struct _GcalEventEditorSectionInterface
|
||||
GcalEventEditorFlags flags);
|
||||
|
||||
void (*apply) (GcalEventEditorSection *self);
|
||||
|
||||
gboolean (*changed) (GcalEventEditorSection *self);
|
||||
};
|
||||
|
||||
void gcal_event_editor_section_set_event (GcalEventEditorSection *self,
|
||||
@@ -53,4 +55,6 @@ void gcal_event_editor_section_set_event (GcalEventEdito
|
||||
|
||||
void gcal_event_editor_section_apply (GcalEventEditorSection *self);
|
||||
|
||||
gboolean gcal_event_editor_section_changed (GcalEventEditorSection *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
||||
Reference in New Issue
Block a user