[Xfce4-commits] <midori:master> Guarding 'autocomplete' with 1.6.1 is enough
Christian Dywan
noreply at xfce.org
Thu Jan 19 02:34:01 CET 2012
Updating branch refs/heads/master
to 1ef7182e95c73169ed65a1fb5ea1a26051ed3440 (commit)
from 26485b9be246a086bf218d9e79c6bfd59e031f0e (commit)
commit 1ef7182e95c73169ed65a1fb5ea1a26051ed3440
Author: Christian Dywan <christian at twotoasts.de>
Date: Thu Jan 19 02:31:27 2012 +0100
Guarding 'autocomplete' with 1.6.1 is enough
extensions/formhistory/formhistory-gdom-frontend.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/extensions/formhistory/formhistory-gdom-frontend.c b/extensions/formhistory/formhistory-gdom-frontend.c
index 3d0d24c..6b28e2d 100644
--- a/extensions/formhistory/formhistory-gdom-frontend.c
+++ b/extensions/formhistory/formhistory-gdom-frontend.c
@@ -380,9 +380,9 @@ formhistory_DOMContentLoaded_cb (WebKitDOMElement* window,
for (i = 0; i < webkit_dom_node_list_get_length (inputs); i++)
{
WebKitDOMNode* element = webkit_dom_node_list_item (inputs, i);
- #if WEBKIT_CHECK_VERSION (1, 7, 4)
+ #if WEBKIT_CHECK_VERSION (1, 6, 1)
gchar* autocomplete = webkit_dom_html_input_element_get_autocomplete (
- WebKitDOMHTMLInputElement (element));
+ WEBKIT_DOM_HTML_INPUT_ELEMENT (element));
gboolean off = !g_strcmp0 (autocomplete, "off");
g_free (autocomplete);
if (off)
More information about the Xfce4-commits
mailing list