summaryrefslogtreecommitdiff
path: root/src/html/html_button_element.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/html/html_button_element.c')
-rw-r--r--src/html/html_button_element.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/html/html_button_element.c b/src/html/html_button_element.c
index 47fdb7b..95b5d31 100644
--- a/src/html/html_button_element.c
+++ b/src/html/html_button_element.c
@@ -196,16 +196,16 @@ SIMPLE_GET(type);
SIMPLE_GET_SET(value);
dom_exception dom_html_button_element_get_tab_index(
- dom_html_button_element *button, long *tab_index)
+ dom_html_button_element *button, int32_t *tab_index)
{
- return dom_html_element_get_long_property(&button->base, "tabindex",
+ return dom_html_element_get_int32_t_property(&button->base, "tabindex",
SLEN("tabindex"), tab_index);
}
dom_exception dom_html_button_element_set_tab_index(
- dom_html_button_element *button, unsigned long tab_index)
+ dom_html_button_element *button, uint32_t tab_index)
{
- return dom_html_element_set_long_property(&button->base, "tabindex",
+ return dom_html_element_set_int32_t_property(&button->base, "tabindex",
SLEN("tabindex"), tab_index);
}