mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
1337806696
Since xdg-desktop-portal 1.10.0, the type is "o" (an object path string) instead of "s" (a normal string). g_variant_lookup fails if the type doesn't match exactly, even though both are strings. Use g_variant_lookup_value to get the field value, telling it not to typecheck. Use g_variant_dup_string to extract the string, which doesn't care about the exact type, so this code should work with all versions of xdg-desktop-portal. Following a similar fix to OBS, see https://github.com/obsproject/obs-studio/commit/ef0540c0d7df. Differential Revision: https://phabricator.services.mozilla.com/D126053 |
||
---|---|---|
.. | ||
aom | ||
cups | ||
dav1d | ||
highway | ||
jpeg-xl | ||
js/d3 | ||
libsrtp | ||
libwebrtc | ||
msgpack | ||
pipewire | ||
prio | ||
python | ||
rlbox | ||
rlbox_wasm2c_sandbox | ||
rust | ||
sipcc | ||
sqlite3 | ||
wasm2c | ||
webkit/PerformanceTests | ||
WinToast | ||
moz.build |