event-editor-dialog: Unify set_event and set_event_is_new

The split is annoying, and a relic of time.
This commit is contained in:
Georges Basile Stavracas Neto
2020-10-31 16:15:54 -03:00
parent 7e10c6d451
commit b0cdca78b1
3 changed files with 14 additions and 35 deletions
@@ -30,10 +30,8 @@ G_DECLARE_FINAL_TYPE (GcalEventEditorDialog, gcal_event_editor_dialog, GCAL, EVE
GtkWidget* gcal_event_editor_dialog_new (void);
void gcal_event_editor_dialog_set_event_is_new (GcalEventEditorDialog *dialog,
gboolean event_is_new);
void gcal_event_editor_dialog_set_event (GcalEventEditorDialog *self,
GcalEvent *event);
GcalEvent *event,
gboolean new_event);
G_END_DECLS