Move GtkChildClassFlags to gtkenums.h.

This commit is contained in:
Carlos Garnacho 2010-04-21 00:32:21 +02:00
parent 8c03503d16
commit f60e3f3a8a
2 changed files with 9 additions and 9 deletions

View File

@ -570,6 +570,15 @@ typedef enum
GTK_STATE_FLAG_FOCUSED = 1 << 5 GTK_STATE_FLAG_FOCUSED = 1 << 5
} GtkStateFlags; } GtkStateFlags;
typedef enum {
GTK_CHILD_CLASS_EVEN = 1 << 0,
GTK_CHILD_CLASS_ODD = 1 << 1,
GTK_CHILD_CLASS_FIRST = 1 << 2,
GTK_CHILD_CLASS_LAST = 1 << 3,
GTK_CHILD_CLASS_DEFAULT = 1 << 4,
GTK_CHILD_CLASS_SORTED = 1 << 5
} GtkChildClassFlags;
G_END_DECLS G_END_DECLS

View File

@ -36,15 +36,6 @@ G_BEGIN_DECLS
typedef struct GtkStyleContext GtkStyleContext; typedef struct GtkStyleContext GtkStyleContext;
typedef struct GtkStyleContextClass GtkStyleContextClass; typedef struct GtkStyleContextClass GtkStyleContextClass;
typedef enum {
GTK_CHILD_CLASS_EVEN = 1 << 0,
GTK_CHILD_CLASS_ODD = 1 << 1,
GTK_CHILD_CLASS_FIRST = 1 << 2,
GTK_CHILD_CLASS_LAST = 1 << 3,
GTK_CHILD_CLASS_DEFAULT = 1 << 4,
GTK_CHILD_CLASS_SORTED = 1 << 5
} GtkChildClassFlags;
struct GtkStyleContext struct GtkStyleContext
{ {
GObject parent_object; GObject parent_object;