core/editor: Replace g_return_* with g_assert

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/671>
This commit is contained in:
mindonwarp
2026-01-21 19:37:53 +00:00
committed by Marge Bot
parent ba3ca061ce
commit 0149b7a042
6 changed files with 25 additions and 29 deletions
@@ -313,7 +313,7 @@ static void
on_attendees_summary_activated_cb (GcalAttendeesSection *section,
GcalEventEditorDialog *self)
{
g_return_if_fail (GCAL_IS_EVENT_EDITOR_DIALOG (self));
g_assert (GCAL_IS_EVENT_EDITOR_DIALOG (self));
gcal_attendee_details_page_set_event (GCAL_ATTENDEE_DETAILS_PAGE (self->attendee_details_page),
self->event);