Skip to content

Empty values are not valid GParamSpec

Emmanuele Bassi requested to merge ebassi/issue-2770 into main

The validate() vfunc for GParamSpecParam returns FALSE for empty GValue, which means the is_valid() vfunc should do the same.

This avoids a segfault when calling g_param_value_is_valid() on a GParamSpecParam.

Fixes: #2770 (closed)

Merge request reports