Calling g_settings_new_with_path with a schema that isn't installed raises a g_error and aborts making the KCM crash on older PulseAudio versions.
This basically copies what g_settings_new_with_path does internally but just prints a warning on console and carries on.
Details
Details
- Reviewers
nicolasfella drosca - Group Reviewers
Plasma - Commits
- R115:25de7eb8c0dc: Don't abort when org.freedesktop.pulseaudio.module-group schema isn't installed
Started the KCM on PulseAudio 11.1 (neon bionic), got an error on console, no longer crashed, had the module checkboxes disabled in settings
Makes me wonder why neon uses gsettings, though, when its PA version is too old to be affected by the gconf→gsettings change
Diff Detail
Diff Detail
- Repository
- R115 Plasma Audio Volume Applet
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Comment Actions
Makes me wonder why neon uses gsettings, though, when its PA version is too old to be affected by the gconf→gsettings change
plasma-pa is built with GSettings by default. To use GConf one needs to build with -DUSE_GCONF