Avoid deprecated gtk_widget_{show,hide} and gtk_style_context_*. The replacements are in GTK since 4.0.
gtk_widget_{show,hide}
gtk_style_context_*