linux: guard G_APPLICATION_DEFAULT_FLAGS behind GLib ≥ 2.74, fallba…#3105
linux: guard G_APPLICATION_DEFAULT_FLAGS behind GLib ≥ 2.74, fallba…#3105
G_APPLICATION_DEFAULT_FLAGS behind GLib ≥ 2.74, fallba…#3105Conversation
…ck to `G_APPLICATION_FLAGS_NONE` * Use `GLIB_CHECK_VERSION(2,74,0)` to select `G_APPLICATION_DEFAULT_FLAGS` when available, otherwise use `G_APPLICATION_FLAGS_NONE`. * Resolves build failures with older GLib headers while keeping the preferred constant on newer systems. * No functional changes; improves cross-distro compatibility.
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the ✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
|
Visit the preview URL for this PR (updated for commit 0b75976): https://walletrc--pull-3105-merge-hd4riu99.web.app (expires Sat, 30 Aug 2025 21:08:20 GMT) 🔥 via Firebase Hosting GitHub Action 🌎 Sign: f66a4ff03faa546f12f0ae5a841bd9eff2714dcc |
The Linux platform is fine for now. I only found a bug on macOS - #3063 (comment). |
takenagain
left a comment
There was a problem hiding this comment.
Confirmed that build works and that opening multiple windows is blocked on Ubuntu 24.04.3 LTS when building with .docker/build.sh (Ubuntu 22.04) and manually with Flutter CLI.
…ck to
G_APPLICATION_FLAGS_NONEGLIB_CHECK_VERSION(2,74,0)to selectG_APPLICATION_DEFAULT_FLAGSwhen available, otherwise useG_APPLICATION_FLAGS_NONE.Solve: #3063 (comment)