Skip to content
Snippets Groups Projects
Commit a3604028 authored by Ludovico de Nittis's avatar Ludovico de Nittis :palm_tree:
Browse files

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: default avatarLudovico de Nittis <ludovico.denittis@collabora.com>
parent 72176a47
No related branches found
No related tags found
1 merge request!161Start using the new JSON-GLib functions "*_with_default"
Pipeline #5071 passed
This commit is part of merge request !161. Comments created here will be created in the context of that merge request.
Showing
with 322 additions and 201 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment