mirror of https://github.com/GNOME/gimp.git
Fix two warnings about possibly missing printf format attributes
This commit is contained in:
parent
faf2217811
commit
236f9f91f9
|
@ -277,6 +277,13 @@ typedef struct
|
||||||
GSList *tags;
|
GSList *tags;
|
||||||
} TextSpan;
|
} 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
|
static void
|
||||||
set_error (GError **err,
|
set_error (GError **err,
|
||||||
GMarkupParseContext *context,
|
GMarkupParseContext *context,
|
||||||
|
|
|
@ -345,6 +345,12 @@ gimp_unit_get_plural (GimpUnit unit)
|
||||||
return _gimp_unit_vtable.unit_get_plural (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
|
static gint
|
||||||
print (gchar *buf,
|
print (gchar *buf,
|
||||||
gint len,
|
gint len,
|
||||||
|
|
Loading…
Reference in New Issue