Skip to content

Backport !3082 “gstrfuncs: Fix regression in types accepted by g_str_equal()” to glib-2-74

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)


Trivial backport of !3082 (merged) to glib-2-74.

Merge request reports