diff options
Diffstat (limited to 'examples/example1.c')
-rw-r--r-- | examples/example1.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/example1.c b/examples/example1.c index 511771d..be7a582 100644 --- a/examples/example1.c +++ b/examples/example1.c @@ -95,7 +95,7 @@ static css_error node_is_target(void *pw, void *node, bool *match); static css_error node_is_lang(void *pw, void *node, lwc_string *lang, bool *match); static css_error node_presentational_hint(void *pw, void *node, - uint32_t property, css_hint *hint); + uint32_t *nhints, css_hint **hints); static css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint); static css_error compute_font_size(void *pw, const css_hint *parent, @@ -625,13 +625,13 @@ css_error node_is_lang(void *pw, void *n, } css_error node_presentational_hint(void *pw, void *node, - uint32_t property, css_hint *hint) + uint32_t *nhints, css_hint **hints) { UNUSED(pw); UNUSED(node); - UNUSED(property); - UNUSED(hint); - return CSS_PROPERTY_NOT_SET; + *nhints = 0; + *hints = NULL; + return CSS_OK; } css_error ua_default_for_property(void *pw, uint32_t property, css_hint *hint) |