Fix two warnings about possibly missing printf format attributes

This commit is contained in:
Michael Natterer 2013-04-07 16:47:26 +02:00
parent faf2217811
commit 236f9f91f9
2 changed files with 13 additions and 0 deletions

View File

@ -277,6 +277,13 @@ typedef struct
GSList *tags;
} TextSpan;
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,

View File

@ -345,6 +345,12 @@ gimp_unit_get_plural (GimpUnit unit)
return _gimp_unit_vtable.unit_get_plural (unit);
}
static gint print (gchar *buf,
gint len,
gint start,
const gchar *fmt,
...) G_GNUC_PRINTF (4, 5);
static gint
print (gchar *buf,
gint len,