forked from AuroraMiddleware/gtk
Fix a few bugs in the css change flag definition
These were found by the new change flag tests.
This commit is contained in:
parent
da2e184639
commit
26c4c28068
@ -173,7 +173,7 @@ gtk_css_change_print (GtkCssChange change,
|
||||
{ GTK_CSS_CHANGE_PARENT_BACKDROP, "parent-backdrop" },
|
||||
{ GTK_CSS_CHANGE_PARENT_SELECTED, "parent-selected" },
|
||||
|
||||
{ GTK_CSS_CHANGE_PARENT_SIBLING_CLASS, "parent-sibling-" },
|
||||
{ GTK_CSS_CHANGE_PARENT_SIBLING_CLASS, "parent-sibling-class" },
|
||||
{ GTK_CSS_CHANGE_PARENT_SIBLING_NAME, "parent-sibling-name" },
|
||||
{ GTK_CSS_CHANGE_PARENT_SIBLING_ID, "parent-sibling-id" },
|
||||
{ GTK_CSS_CHANGE_PARENT_SIBLING_FIRST_CHILD, "parent-sibling-first-child" },
|
||||
|
@ -75,8 +75,8 @@ typedef struct _GtkCssStaticStyle GtkCssStaticStyle;
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_SHIFT (GTK_CSS_CHANGE_PARENT_SHIFT + GTK_CSS_CHANGE_SIBLING_SHIFT)
|
||||
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_CLASS (1ULL << 36)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_ID (1ULL << 37)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_NAME (1ULL << 38)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_NAME (1ULL << 37)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_ID (1ULL << 38)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_FIRST_CHILD (1ULL << 39)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_LAST_CHILD (1ULL << 40)
|
||||
#define GTK_CSS_CHANGE_PARENT_SIBLING_NTH_CHILD (1ULL << 41)
|
||||
|
Loading…
Reference in New Issue
Block a user