Closed yfreund closed 1 year ago
For clarification - the reason why the else
condition is also not needed here is because we're already setting visible: true
on this object, which suffices for most versions of Gtk4 and is the only viable way of doing that in Gtk >= 4.10 .
Since support for older versions of Gnome has been dropped this if condition is no longer needed. The need for the else condition has also been deprecated (see https://gjs-docs.gnome.org/gtk40/gtk.widget#method-show).