Skip to content

GtkTextBufferSerialize: Check and fix format string arguments

Felix Riemann requested to merge textbuf-serialize-fix-format-string into gtk-3-24

This uses the G_GNUC_PRINTF attribute to check the format string arguments when setting GErrors. This was recommended by GCC9 to me, which is apparently now able to spot function candidates for this feature.

Then one format string is fixed which required two but only had one argument given. It was found with the checking by GCC.

Merge request reports