From d813cbdbabf1ce1429bc43346bf366bd929bc8cc Mon Sep 17 00:00:00 2001 From: Nick Treleaven Date: Mon, 23 Apr 2007 12:30:27 +0000 Subject: [PATCH] Add printf format check for dialogs_show_msgbox(). git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@1472 ea778897-0a13-0410-b9d1-a72fbfd435f5 --- src/dialogs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dialogs.h b/src/dialogs.h index 8dd1b84f8..fa2ca572b 100644 --- a/src/dialogs.h +++ b/src/dialogs.h @@ -53,6 +53,6 @@ gboolean dialogs_show_question(const gchar *text, ...) G_GNUC_PRINTF (1, 2); gboolean dialogs_show_question_full(const gchar *yes_btn, const gchar *no_btn, const gchar *extra_text, const gchar *main_text, ...) G_GNUC_PRINTF (4, 5); -void dialogs_show_msgbox(gint type, const gchar *text, ...); +void dialogs_show_msgbox(gint type, const gchar *text, ...) G_GNUC_PRINTF (2, 3); #endif