gstrfuncs: Fix regression in types accepted by g_str_equal()
The new macro form of g_str_equal()
had stricter type checking than
the original function form. That would be nice, except it causes new
compiler warnings in third party projects, which counts as an API break
for us, so unfortunately we can’t do it.
Add some tests to prevent regressions on this again.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2809 (closed)
Closes #2809 (closed)