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__ */