GtkTextBufferSerialize: Add G_GNUC_PRINTF() to set_error()
This allows the compiler to warn if format string and arguments do not match.
This commit is contained in:
@@ -703,6 +703,14 @@ typedef struct
|
||||
gboolean parsed_tags;
|
||||
} ParseInfo;
|
||||
|
||||
static void
|
||||
set_error (GError **err,
|
||||
GMarkupParseContext *context,
|
||||
int error_domain,
|
||||
int error_code,
|
||||
const char *format,
|
||||
...) G_GNUC_PRINTF(5, 6);
|
||||
|
||||
static void
|
||||
set_error (GError **err,
|
||||
GMarkupParseContext *context,
|
||||
|
||||
Reference in New Issue
Block a user