-
- Downloads
Start using the new JSON-GLib functions "*_with_default"
JSON-Glib 1.6.0 introduced new functions to get members from a JSON
object with a default fallback value.
This allows us to avoid manually checking the existence of a member.
The functions that we currently need, have been backported to allow the
execution on systems with a JSON-GLIB version older than the 1.6.0
Signed-off-by:
Ludovico de Nittis <ludovico.denittis@collabora.com>
parent
72176a47
No related branches found
No related tags found
This commit is part of merge request !161. Comments created here will be created in the context of that merge request.
Showing
- helpers/check-xdg-portal.c 1 addition, 1 deletionhelpers/check-xdg-portal.c
- steam-runtime-tools/architecture.c 2 additions, 6 deletionssteam-runtime-tools/architecture.c
- steam-runtime-tools/desktop-entry.c 11 additions, 14 deletionssteam-runtime-tools/desktop-entry.c
- steam-runtime-tools/graphics.c 50 additions, 57 deletionssteam-runtime-tools/graphics.c
- steam-runtime-tools/json-glib-backports-internal.h 55 additions, 0 deletionssteam-runtime-tools/json-glib-backports-internal.h
- steam-runtime-tools/json-glib-backports.c 131 additions, 0 deletionssteam-runtime-tools/json-glib-backports.c
- steam-runtime-tools/json-glib-compat.h 0 additions, 41 deletionssteam-runtime-tools/json-glib-compat.h
- steam-runtime-tools/library.c 3 additions, 4 deletionssteam-runtime-tools/library.c
- steam-runtime-tools/locale.c 13 additions, 20 deletionssteam-runtime-tools/locale.c
- steam-runtime-tools/meson.build 2 additions, 0 deletionssteam-runtime-tools/meson.build
- steam-runtime-tools/os.c 22 additions, 23 deletionssteam-runtime-tools/os.c
- steam-runtime-tools/steam.c 10 additions, 14 deletionssteam-runtime-tools/steam.c
- steam-runtime-tools/system-info.c 13 additions, 9 deletionssteam-runtime-tools/system-info.c
- steam-runtime-tools/xdg-portal.c 8 additions, 11 deletionssteam-runtime-tools/xdg-portal.c
- tests/system-info-cli.c 1 addition, 1 deletiontests/system-info-cli.c
Loading
Please register or sign in to comment