[test-paint] Use G_GNUC_PRINTF
This commit is contained in:
parent
92d5ec2f16
commit
c86bab3fb4
|
@ -54,9 +54,7 @@ typedef struct {
|
||||||
GString *string;
|
GString *string;
|
||||||
} paint_data_t;
|
} paint_data_t;
|
||||||
|
|
||||||
#ifndef _MSC_VER
|
static void print (paint_data_t *data, const char *format, ...) G_GNUC_PRINTF (2, 3);
|
||||||
static void print (paint_data_t *data, const char *format, ...) __attribute__((format (printf, 2, 3)));
|
|
||||||
#endif
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
print (paint_data_t *data,
|
print (paint_data_t *data,
|
||||||
|
|
Loading…
Reference in New Issue