From 26c71e18f68652c93c577255db399d2ec94394cb Mon Sep 17 00:00:00 2001 From: Georges Basile Stavracas Neto Date: Sat, 27 Jan 2024 12:53:10 -0300 Subject: [PATCH] event-editor: Use adw_dialog_close() to hide --- src/gui/event-editor/gcal-event-editor-dialog.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/event-editor/gcal-event-editor-dialog.c b/src/gui/event-editor/gcal-event-editor-dialog.c index 6a9fbd5f..c3b6b19f 100644 --- a/src/gui/event-editor/gcal-event-editor-dialog.c +++ b/src/gui/event-editor/gcal-event-editor-dialog.c @@ -195,7 +195,7 @@ static void clear_and_hide_dialog (GcalEventEditorDialog *self) { gcal_event_editor_dialog_set_event (self, NULL, FALSE); - gtk_widget_set_visible (GTK_WIDGET (self), FALSE); + adw_dialog_close (ADW_DIALOG (self)); } static void