void *old_data;
/* A unique "userdata key" (a string) is used to identify this
- * data. The fourth parameter (NULL) is a "user handler
- * function." We will eventually have one, but for now we set
- * it to NULL to avoid a circular reference mess that would
- * break the build temporarily. */
+ * data. */
state = (struct svgtiny_parse_state *)pw;
dom_node_set_user_data((dom_node *)node,
state->interned_userdata_key,
libcss_node_data,
- NULL,
+ svgtiny_dom_user_data_handler,
&old_data);
/* dom_node_set_user_data() always returns DOM_NO_ERR */