diff options
Diffstat (limited to 'finch/libgnt')
-rw-r--r-- | finch/libgnt/gntfilesel.h | 2 | ||||
-rw-r--r-- | finch/libgnt/gntprogressbar.h | 2 | ||||
-rw-r--r-- | finch/libgnt/gnttree.h | 2 | ||||
-rw-r--r-- | finch/libgnt/gntwidget.h | 6 | ||||
-rw-r--r-- | finch/libgnt/gntwm.h | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/finch/libgnt/gntfilesel.h b/finch/libgnt/gntfilesel.h index bb6b1d6cf9..c31a8ebe52 100644 --- a/finch/libgnt/gntfilesel.h +++ b/finch/libgnt/gntfilesel.h @@ -81,7 +81,7 @@ struct _GntFileSelClass void (*gnt_reserved4)(void); }; -typedef enum _GntFileType +typedef enum { GNT_FILE_REGULAR, GNT_FILE_DIR diff --git a/finch/libgnt/gntprogressbar.h b/finch/libgnt/gntprogressbar.h index fbfd788992..dbbf4a36e1 100644 --- a/finch/libgnt/gntprogressbar.h +++ b/finch/libgnt/gntprogressbar.h @@ -37,7 +37,7 @@ #define GNT_IS_PROGRESS_BAR_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GNT_TYPE_PROGRESS_BAR)) #define GNT_PROGRESS_BAR_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GNT_TYPE_PROGRESS_BAR, GntProgressBarClass)) -typedef enum _GntProgressBarOrientation +typedef enum { GNT_PROGRESS_LEFT_TO_RIGHT, GNT_PROGRESS_RIGHT_TO_LEFT, diff --git a/finch/libgnt/gnttree.h b/finch/libgnt/gnttree.h index 2be31b2cce..1cb69ce5f2 100644 --- a/finch/libgnt/gnttree.h +++ b/finch/libgnt/gnttree.h @@ -47,7 +47,7 @@ typedef struct _GntTreeClass GntTreeClass; typedef struct _GntTreeRow GntTreeRow; typedef struct _GntTreeCol GntTreeCol; -typedef enum _GntTreeColumnFlag { +typedef enum { GNT_TREE_COLUMN_INVISIBLE = 1 << 0, GNT_TREE_COLUMN_FIXED_SIZE = 1 << 1, GNT_TREE_COLUMN_BINARY_DATA = 1 << 2, diff --git a/finch/libgnt/gntwidget.h b/finch/libgnt/gntwidget.h index e25d58f711..cb0f597e32 100644 --- a/finch/libgnt/gntwidget.h +++ b/finch/libgnt/gntwidget.h @@ -49,7 +49,7 @@ typedef struct _GntWidget GntWidget; typedef struct _GntWidgetPriv GntWidgetPriv; typedef struct _GntWidgetClass GntWidgetClass; -typedef enum _GntWidgetFlags +typedef enum { GNT_WIDGET_DESTROYING = 1 << 0, GNT_WIDGET_CAN_TAKE_FOCUS = 1 << 1, @@ -69,7 +69,7 @@ typedef enum _GntWidgetFlags } GntWidgetFlags; /* XXX: This will probably move elsewhere */ -typedef enum _GntMouseEvent +typedef enum { GNT_LEFT_MOUSE_DOWN = 1, GNT_RIGHT_MOUSE_DOWN, @@ -80,7 +80,7 @@ typedef enum _GntMouseEvent } GntMouseEvent; /* XXX: I'll have to ask grim what he's using this for in guifications. */ -typedef enum _GntParamFlags +typedef enum { GNT_PARAM_SERIALIZABLE = 1 << G_PARAM_USER_SHIFT } GntParamFlags; diff --git a/finch/libgnt/gntwm.h b/finch/libgnt/gntwm.h index 4d8ace2428..be846e6a92 100644 --- a/finch/libgnt/gntwm.h +++ b/finch/libgnt/gntwm.h @@ -41,7 +41,7 @@ #define GNT_IS_WM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GNT_TYPE_WM)) #define GNT_WM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GNT_TYPE_WM, GntWMClass)) -typedef enum _GntKeyPressMode +typedef enum { GNT_KP_MODE_NORMAL, GNT_KP_MODE_RESIZE, |