Small bug-fix release in the 5.0.x line. Fixes a startup crash that hit users on environments where the XDG portal cannot auto-report a color scheme (typically XFCE) and the dark-theme gsetting is enabled.
Community thanks
Thanks to @raulvc for the prompt report and reproduction details on #440.
Fixes
- Startup crash
gdk_display_manager_get() was called before gtk_init()whenuse-dark-themeis enabled on environments without a portal-reported color scheme (#440). The dark-theme preference was being applied beforeAdwApplication's startup chain ran, soadw_style_manager_get_default()reached into an uninitialized GDK display and aborted. Now applied after chaining up to the parentstartup().
sha256: 0ea8e9016e46e30e7080420906d1d69da892d3fe9c1033cd050fd72c4bd6b3a5