general: Use gtk_widget_set_visible

A lot of places were using gtk_widget_show/gtk_widget_hide, but those
methods are deprecated since Gtk 4.10.

Let's use gtk_widget_set_visible instead.
This commit is contained in:
Felipe Kinoshita
2023-03-03 19:14:09 -03:00
parent 69728fc814
commit 2805b414f8
15 changed files with 44 additions and 32 deletions
@@ -204,7 +204,7 @@ static void
clear_and_hide_dialog (GcalEventEditorDialog *self)
{
gcal_event_editor_dialog_set_event (self, NULL, FALSE);
gtk_widget_hide (GTK_WIDGET (self));
gtk_widget_set_visible (GTK_WIDGET (self), FALSE);
}
static void