[Xfce4-commits] <midori:master> Guard formhistory_suggestions_hide_cb for GDOM
Christian Dywan
noreply at xfce.org
Sun Mar 11 20:44:02 CET 2012
Updating branch refs/heads/master
to 0cd1c158d752ee7ff16f4dc8bd6dcab03618e734 (commit)
from 9742511800de93e54576987c737a71e87e7b5c4b (commit)
commit 0cd1c158d752ee7ff16f4dc8bd6dcab03618e734
Author: Christian Dywan <christian at twotoasts.de>
Date: Sun Mar 11 18:50:36 2012 +0100
Guard formhistory_suggestions_hide_cb for GDOM
extensions/formhistory/formhistory.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/extensions/formhistory/formhistory.c b/extensions/formhistory/formhistory.c
index 90d6185..cc81cde 100644
--- a/extensions/formhistory/formhistory.c
+++ b/extensions/formhistory/formhistory.c
@@ -216,7 +216,9 @@ formhistory_navigation_decision_cb (WebKitWebView* web_view,
js_context = webkit_web_frame_get_global_context (web_frame);
value = sokoke_js_script_eval (js_context, script, NULL);
+#ifdef FORMHISTORY_USE_GDOM
formhistory_suggestions_hide_cb (NULL, NULL, priv);
+#endif
if (value && *value)
{
gchar** inputs = g_strsplit (value, "|||", 0);
More information about the Xfce4-commits
mailing list