event-editor/event-editor-dialog: Rename set_event() to present_event()

This allows us to avoid using `adw_dialog_present()` every time
`set_event()` is being invoked.

All the files using `set_event()` are updated accordingly.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/711>
This commit is contained in:
Hari Rana
2026-06-26 08:08:39 -04:00
parent a0b8f4b23e
commit 6cd8d631f5
3 changed files with 85 additions and 75 deletions
@@ -32,7 +32,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 (GcalEventEditorDialog *self,
void gcal_event_editor_dialog_present_event (GcalEventEditorDialog *self,
GtkWidget *parent,
GcalEvent *event,
gboolean new_event);