#ifndef __DIALOG_H__
#define __DIALOG_H__
-#include <epan/gnuc_format_check.h>
-
#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */
#define ESD_BTNS_SAVE_DONTSAVE_CANCEL (ESD_BTN_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
/** Standard button combination "Quit without saving" + "Cancel" + "Save". */
#define ESD_BTNS_SAVE_QUIT_DONTSAVE_CANCEL (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL|ESD_BTN_SAVE)
+/** Standard button combination "Quit without saving" + "Cancel". */
+#define ESD_BTNS_QUIT_DONTSAVE_CANCEL (ESD_BTN_QUIT_DONT_SAVE|ESD_BTN_CANCEL)
/** Create and show a simple dialog.
*
*/
extern gpointer simple_dialog(ESD_TYPE_E type, gint btn_mask,
const gchar *msg_format, ...)
- GNUC_FORMAT_CHECK(printf, 3, 4);
+ G_GNUC_PRINTF(3, 4);
+
/** Create and show a simple dialog using a va_list.
*
* @param type type of dialog