summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2015-07-19 14:19:24 (GMT)
committer Michael Drake <tlsa@netsurf-browser.org>2015-08-03 21:30:20 (GMT)
commit3bb3072abd1c128d5026e389920672309d887e68 (patch)
treeb0c9c61b33d4fb1cf71ad6bebeb45d8a4684fb64
parentb373b7777ea17f7f161e7ccea1884dcb4862f203 (diff)
downloadlibnslayout-3bb3072abd1c128d5026e389920672309d887e68.tar.gz
libnslayout-3bb3072abd1c128d5026e389920672309d887e68.tar.bz2
Fix callback parameter.
-rw-r--r--include/libnslayout/nslayout.h2
-rw-r--r--src/layout.c2
-rw-r--r--src/layout.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/include/libnslayout/nslayout.h b/include/libnslayout/nslayout.h
index 2a48690..f42bed7 100644
--- a/include/libnslayout/nslayout.h
+++ b/include/libnslayout/nslayout.h
@@ -130,7 +130,7 @@ nslayout_error nslayout_layout_create(
dom_document *doc,
css_select_ctx *css_ctx,
css_media_type *media,
- nslayout_callback *cb,
+ nslayout_callback cb,
void *pw,
nslayout_layout **layout);
diff --git a/src/layout.c b/src/layout.c
index dab4855..773996a 100644
--- a/src/layout.c
+++ b/src/layout.c
@@ -15,7 +15,7 @@ nslayout_error nslayout_layout_create(
dom_document *doc,
css_select_ctx *css_ctx,
css_media_type *media,
- nslayout_callback *cb,
+ nslayout_callback cb,
void *pw,
nslayout_layout **layout)
{
diff --git a/src/layout.h b/src/layout.h
index 5b43bc6..6e8f4c9 100644
--- a/src/layout.h
+++ b/src/layout.h
@@ -13,7 +13,7 @@ struct nslayout_layout {
dom_document *doc;
css_select_ctx *css_ctx;
css_media_type *media;
- nslayout_callback *cb;
+ nslayout_callback cb;
void *pw;
};