Don't abort when org.freedesktop.pulseaudio.module-group schema isn't installed

Authored by broulik on Apr 30 2019, 2:07 PM.

Description

Don't abort when org.freedesktop.pulseaudio.module-group schema isn't installed

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.

Differential Revision: https://phabricator.kde.org/D20915

Details

Committed
broulikApr 30 2019, 2:07 PM
Differential Revision
D20915: Don't abort when org.freedesktop.pulseaudio.module-group schema isn't installed
Parents
R115:2dc4b94b02e7: Define constants in cpp
Branches
Unknown
Tags
Unknown