Commit d0a3846e authored by Diego Escalante Urrelo's avatar Diego Escalante Urrelo 🍄 Committed by Matthias Clasen

gtkenums: add GTK_STATE_FLAG_NORMAL = 0

Allows a more readable omission of GtkStateFlag arguments.

Bug #638608
parent 83058bf2
......@@ -581,6 +581,7 @@ typedef enum
/**
* GtkStateFlags:
* @GTK_STATE_FLAG_NORMAL: State during normal operation.
* @GTK_STATE_FLAG_ACTIVE: Widget is active.
* @GTK_STATE_FLAG_PRELIGHT: Widget has a mouse pointer over it.
* @GTK_STATE_FLAG_SELECTED: Widget is selected.
......@@ -592,6 +593,7 @@ typedef enum
*/
typedef enum
{
GTK_STATE_FLAG_NORMAL = 0,
GTK_STATE_FLAG_ACTIVE = 1 << 0,
GTK_STATE_FLAG_PRELIGHT = 1 << 1,
GTK_STATE_FLAG_SELECTED = 1 << 2,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment