From e0f2ea72cb1dcecaeb41979b92e23faf2bb11005 Mon Sep 17 00:00:00 2001 From: Sven Neumann Date: Sun, 16 Jul 2006 10:31:37 +0000 Subject: [PATCH] use G_GNUC_PRINTF. 2006-07-16 Sven Neumann * app/errors.h (gimp_fatal_error, gimp_terminate): use G_GNUC_PRINTF. --- ChangeLog | 4 ++++ app/errors.h | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 2c208a8eb5..15ff944535 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2006-07-16 Sven Neumann + + * app/errors.h (gimp_fatal_error, gimp_terminate): use G_GNUC_PRINTF. + 2006-07-14 Maurits * plug-ins/imagemap/imap_grid.h diff --git a/app/errors.h b/app/errors.h index 289f9b3a87..107a719e90 100644 --- a/app/errors.h +++ b/app/errors.h @@ -37,10 +37,10 @@ void gimp_error_log_func (const gchar *domain, const gchar *message, gpointer data) G_GNUC_NORETURN; -void gimp_fatal_error (const gchar *message, - ...) G_GNUC_NORETURN ; -void gimp_terminate (const gchar *message, - ...) G_GNUC_NORETURN; +void gimp_fatal_error (const gchar *format, + ...) G_GNUC_PRINTF (1, 2) G_GNUC_NORETURN; +void gimp_terminate (const gchar *format, + ...) G_GNUC_PRINTF (1, 2) G_GNUC_NORETURN; #endif /* __ERRORS_H__ */