Fixes a segfault, where a wl_buffer was destroyed while in use. Also it
allows us to replace the custom caching mechanism and instead find
existing buffers by their destroy listener.
SurfaceViewWidget is now always a child of a GtkGraphicsOffload and
handles the GdkTexture on its own. This way the extra GtkPicture is no
longer needed and also the frame_callback of the Wayland server can be
implemented.
This version includes a fix for certificates with more than 128 alt
names. Some configuration options have been removed because they are now
enabled by default.
Errors thrown here shouldn't be fatal, the app will often work just fine
without any ContentProviders (especially a mostly-native app probably
only uses them for ads)
Get dark mode property directly from XDG portal instead of extracting it
from the GTK theme. Also we pass the value to GTK, which would normaly
be done by libadwaita.
This also has the advantage, that we can switch the theme at runtime.
but for now the change will only affect newly created Activities.