summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-11-01 10:46:25 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-11-01 10:46:25 (GMT)
commit17d7f6097c3f89ff2d505d70141fb136d38a88bf (patch)
tree45a1adbdd385d069cc4fc115fc493d8d788b5450
parent7bcfe771081edd9592bb2b008249da74b13cc41d (diff)
downloadlibnslayout-17d7f6097c3f89ff2d505d70141fb136d38a88bf.tar.gz
libnslayout-17d7f6097c3f89ff2d505d70141fb136d38a88bf.tar.bz2
Update for libdom API change.
`dom_event_listener_create` doesn't take document any more.
-rw-r--r--src/dom/watcher.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dom/watcher.c b/src/dom/watcher.c
index e22fee1..ff31484 100644
--- a/src/dom/watcher.c
+++ b/src/dom/watcher.c
@@ -125,7 +125,7 @@ nslayout_error nsl_dom_watcher_add_for_layout(nslayout_layout *layout)
* way to get DOM change notifications.
*/
- exc = dom_event_listener_create(layout->doc, nsl__dom_event_handler,
+ exc = dom_event_listener_create(nsl__dom_event_handler,
layout, &layout->listener);
if (exc != DOM_NO_ERR) {
return NSL_DOM_ERR(exc);