aboutsummaryrefslogtreecommitdiff
path: root/src/alertpanel.h
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-08 04:58:02 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-08 04:58:02 +0000
commit8f85197cc2c306abc3bceee155afddf34e59f643 (patch)
tree5c623f063f343a8cf447bd7ca9767e3752a990f8 /src/alertpanel.h
parentffbe13af6a93a90c8fec6cf05f4f7110f1608fb2 (diff)
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
Diffstat (limited to 'src/alertpanel.h')
-rw-r--r--src/alertpanel.h5
1 files changed, 3 insertions, 2 deletions
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,