about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorJosh Rickmar <jrick@conformal.com>2013-07-10 19:15:15 -0400
committerJosh Rickmar <jrick@conformal.com>2013-07-10 19:20:35 -0400
commit6838ad2c8d9672eee8751c72c05b72a70e7d9934 (patch)
tree03863d6f3811ff1da09c5262b669aa3a42ab912b
parentca9dac683e1783e503b70849ec1fbfe326b7ef02 (diff)
downloadxombrero-6838ad2c8d9672eee8751c72c05b72a70e7d9934.tar.gz
Revert back to old way of converting DOM types.
-rw-r--r--inputfocus.c6
1 files 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);