st_theme_node_get_color: fix inheritance
This wasn't actually recursing if you passed the "inherit" flag https://bugzilla.gnome.org/show_bug.cgi?id=632590
This commit is contained in:
parent
be7b9729a2
commit
33e955770c
@ -542,6 +542,9 @@ st_theme_node_get_color (StThemeNode *node,
|
||||
}
|
||||
}
|
||||
|
||||
if (inherit && node->parent_node)
|
||||
return st_theme_node_get_color (node->parent_node, property_name, inherit, color);
|
||||
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user