Backport !1718 “gtrace: Add G_GNUC_PRINTF annotation” to glib-2-66
This allows compilers to check the format placeholders properly. It fixes compilation on clang, which gives a warning about untrusted strings being passed on to subsequent functions which require format placeholders.
Signed-off-by: Philip Withnall pwithnall@endlessos.org
Trivial backport of !1718 (merged) to glib-2-66
.