Backport !3094 “gstrfuncs: Fix regression in C++ types accepted by g_str_equal()” to glib-2-74
Further to commit bcd364af, fix the types accepted by the
g_str_equal()
macro for C++ too. C++ is more restrictive about
const-correctness.
Add unit tests.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Fixes: #2820 (closed)
Trivial backport of !3094 (merged) to glib-2-74
.