[gtk+] gtkenums: add GTK_STATE_FLAG_NORMAL = 0
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] gtkenums: add GTK_STATE_FLAG_NORMAL = 0
- Date: Tue, 4 Jan 2011 01:37:46 +0000 (UTC)
commit d0a3846eb1898f39dd17802489736eea3b27f37f
Author: Diego Escalante Urrelo <descalante igalia com>
Date: Mon Jan 3 15:53:45 2011 -0500
gtkenums: add GTK_STATE_FLAG_NORMAL = 0
Allows a more readable omission of GtkStateFlag arguments.
Bug #638608
gtk/gtkenums.h | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkenums.h b/gtk/gtkenums.h
index 2891dad..2a02925 100644
--- a/gtk/gtkenums.h
+++ b/gtk/gtkenums.h
@@ -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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]