From 6838ad2c8d9672eee8751c72c05b72a70e7d9934 Mon Sep 17 00:00:00 2001 From: Josh Rickmar Date: Wed, 10 Jul 2013 19:15:15 -0400 Subject: Revert back to old way of converting DOM types. --- inputfocus.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/inputfocus.c b/inputfocus.c index 23a0e15..e6be51f 100644 --- a/inputfocus.c +++ b/inputfocus.c @@ -167,7 +167,7 @@ focus_input(struct tab *t) /* try current active element */ a = webkit_dom_html_document_get_active_element( - WEBKIT_DOM_HTML_DOCUMENT(doc)); + (WebKitDOMHTMLDocument*)doc); if (node_is_valid_entry((WebKitDOMNode *)a)) { rv = 1; /* found */ goto done; @@ -258,7 +258,7 @@ dom_is_input(struct tab *t, char **text) return (0); #endif a = webkit_dom_html_document_get_active_element( - WEBKIT_DOM_HTML_DOCUMENT(doc)); + (WebKitDOMHTMLDocument*)doc); if (a == NULL) return (0); @@ -360,7 +360,7 @@ command_mode(struct tab *t, struct karg *args) } #endif a = webkit_dom_html_document_get_active_element( - WEBKIT_DOM_HTML_DOCUMENT(doc)); + (WebKitDOMHTMLDocument *)doc); if (a) { webkit_dom_element_blur(a); focus_body(doc); -- cgit 1.4.1-2-gfad0