mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-12-14 12:28:29 +01:00
They come from an external process, so they must be validated. In particular, it’s always easy to forget to validate the type of a `GVariant`, and just try to get the stored value using a well-known type; but that’s a programming error if the `GVariant` actually stores a different type. Always check the variant type first if loading from a `v`. Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #1904
107 KiB
107 KiB