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:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user