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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user