summaryrefslogtreecommitdiff
path: root/gtk/gtkstylecontext.h
diff options
context:
space:
mode:
authorWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-07 10:28:24 -0500
committerWilliam Jon McCann <william.jon.mccann@gmail.com>2014-02-07 10:28:53 -0500
commit3c4dbe6c7afdb97086ef5baaeb9467668dc2c837 (patch)
tree182b15ba0116d8cea8061d7ef9b538108c1d8181 /gtk/gtkstylecontext.h
parentde4237612240d2746ceae23d327d722d8c5077c9 (diff)
downloadgtk+-3c4dbe6c7afdb97086ef5baaeb9467668dc2c837.tar.gz
Add GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
Diffstat (limited to 'gtk/gtkstylecontext.h')
-rw-r--r--gtk/gtkstylecontext.h11
1 files changed, 11 insertions, 0 deletions
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 */
/**