From 8f85197cc2c306abc3bceee155afddf34e59f643 Mon Sep 17 00:00:00 2001 From: hiro Date: Fri, 8 Jul 2005 04:58:02 +0000 Subject: added G_ALERTCANCEL to AlertValue, and return it if cancelled. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@407 ee746299-78ed-0310-b773-934348b2243d --- src/alertpanel.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/alertpanel.h') diff --git a/src/alertpanel.h b/src/alertpanel.h index 7492cead..3e03323b 100644 --- a/src/alertpanel.h +++ b/src/alertpanel.h @@ -27,11 +27,14 @@ typedef enum G_ALERTDEFAULT, G_ALERTALTERNATE, G_ALERTOTHER, + G_ALERTCANCEL, G_ALERTWAIT, G_ALERTDISABLE = 1 << 16 } AlertValue; +#define G_ALERT_VALUE_MASK 0x0000ffff + typedef enum { ALERT_NOTICE, @@ -40,8 +43,6 @@ typedef enum ALERT_ERROR } AlertType; -#define G_ALERT_VALUE_MASK 0x0000ffff - AlertValue alertpanel (const gchar *title, const gchar *message, const gchar *button1_label, -- cgit v1.2.3