diff options
author | Kyle Brenneman <[email protected]> | 2019-09-03 20:56:50 -0600 |
---|---|---|
committer | Martin Wimpress <[email protected]> | 2019-09-17 08:40:13 +0100 |
commit | 8dad8a7e2d1aa2ff1bd7dd434c7ccb58575d47c6 (patch) | |
tree | 7fd284e1b4afc41cc1e1a146e6b1074f069b56a7 /data/icons | |
parent | 6f41c85b6baf66ed8c7a967b1cba95d11ffdae88 (diff) | |
download | mate-notification-daemon-8dad8a7e2d1aa2ff1bd7dd434c7ccb58575d47c6.tar.bz2 mate-notification-daemon-8dad8a7e2d1aa2ff1bd7dd434c7ccb58575d47c6.tar.xz |
Fix decoding the hints dictionary.
g_variant_lookup works like g_variant_get, so using a format string of "v" only
works if the type is actually a GVariant. Since none of the hints have GVariant
values, that means every g_variant_get with a "v" format will fail.
Fix all of the g_variant_lookup calls so that they either unpack a value
directly, or use a "@" prefix when it's more convenient to fetch the value as
a GVariant pointer.
In addition, in cases where we do fetch a GVariant, make sure that we
unreference it afterward.
Diffstat (limited to 'data/icons')
0 files changed, 0 insertions, 0 deletions