This aims to prepare CameraView.vala for GTK4 since we can't subclass Gtk.Stack in GTK4 anymore. I tried using Gtk.Widget (Gtk3 version), but it seems that it cannot have children on its own without using Gtk.Container unlike the Gtk.Widget in GTK4. However, using Gtk.Container for now will not cause significant regressions when we use Gtk.Widget for GTK4.
@jeremypw @danrabbit this is the new pr because I might had accidentally deleted my fork.
This aims to prepare
CameraView.vala
forGTK4
since we can't subclassGtk.Stack
inGTK4
anymore. I tried usingGtk.Widget
(Gtk3 version), but it seems that it cannot have children on its own without usingGtk.Container
unlike theGtk.Widget
in GTK4. However, usingGtk.Container
for now will not cause significant regressions when we useGtk.Widget
for GTK4.@jeremypw @danrabbit this is the new pr because I might had accidentally deleted my fork.