diff options
author | Robert Staudinger <robertx.staudinger@intel.com> | 2009-06-02 18:34:11 +0200 |
---|---|---|
committer | Robert Staudinger <robertx.staudinger@intel.com> | 2009-06-02 18:34:11 +0200 |
commit | 4f677f24ec89409fca095684676621d721e04c1c (patch) | |
tree | e44f9ee96ee37cd93d036270c8e21baf94d186cb /ccss-gtk | |
parent | bf6c922a99ca84d6e3e18ea95b2f6df73d9b4006 (diff) |
[node] Actually use the cached values.
Clean up leftover commented code.
Diffstat (limited to 'ccss-gtk')
-rw-r--r-- | ccss-gtk/ccss-gtk-stylesheet.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ccss-gtk/ccss-gtk-stylesheet.c b/ccss-gtk/ccss-gtk-stylesheet.c index 5b8a8a0..b13562f 100644 --- a/ccss-gtk/ccss-gtk-stylesheet.c +++ b/ccss-gtk/ccss-gtk-stylesheet.c @@ -211,12 +211,12 @@ accumulate_state (ccss_stylesheet_t *stylesheet, char *color; gboolean ret; - ccss_node_init ((ccss_node_t *) &node, &_node_class); + ccss_node_init (&node.parent, &_node_class); node.type_name = type_name; node.id = NULL; node.pseudo_class = state_name; - style = ccss_stylesheet_query (stylesheet, (ccss_node_t const *) &node); + style = ccss_stylesheet_query (stylesheet, &node.parent); if (!style) { return false; } |