From 3c4dbe6c7afdb97086ef5baaeb9467668dc2c837 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Fri, 7 Feb 2014 10:28:24 -0500 Subject: [PATCH] Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION --- gtk/gtkstylecontext.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/gtk/gtkstylecontext.h b/gtk/gtkstylecontext.h index 9e1aadcd92..870d9c1ce1 100644 --- a/gtk/gtkstylecontext.h +++ b/gtk/gtkstylecontext.h @@ -775,6 +775,17 @@ struct _GtkStyleContextClass */ #define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action" +/** + * GTK_STYLE_CLASS_DESTRUCTIVE_ACTION: + * + * A CSS class used when an action (usually a button) is + * one that is expected to remove or destroy something visible + * to the user. + * + * Since: 3.12 + */ +#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action" + /* Predefined set of widget regions */ /**