[StThemeNode] Add a comparison function
Add st_theme_node_equal() - two nodes are considered equal iff they refer to identical elements, so e.g. .example and .example:hover are not equal, even if no .example:hover rule exists in the CSS. https://bugzilla.gnome.org/show_bug.cgi?id=619025
This commit is contained in:
@@ -80,6 +80,8 @@ StThemeNode *st_theme_node_get_parent (StThemeNode *node);
|
||||
|
||||
StTheme *st_theme_node_get_theme (StThemeNode *node);
|
||||
|
||||
gboolean st_theme_node_equal (StThemeNode *node_a, StThemeNode *node_b);
|
||||
|
||||
GType st_theme_node_get_element_type (StThemeNode *node);
|
||||
const char *st_theme_node_get_element_id (StThemeNode *node);
|
||||
const char *st_theme_node_get_element_class (StThemeNode *node);
|
||||
|
Reference in New Issue
Block a user