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
+1 -1
View File
@@ -279,7 +279,7 @@ gcal_application_activate (GApplication *application)
NULL);
g_object_add_weak_pointer (G_OBJECT (self->window), (gpointer*) &self->window);
gtk_widget_show (self->window);
gtk_widget_set_visible (self->window, TRUE);
}
gtk_window_present (GTK_WINDOW (self->window));