Guard formhistory_suggestions_hide_cb for GDOM
This commit is contained in:
parent
9742511800
commit
0cd1c158d7
1 changed files with 2 additions and 0 deletions
|
@ -216,7 +216,9 @@ formhistory_navigation_decision_cb (WebKitWebView* web_view,
|
||||||
js_context = webkit_web_frame_get_global_context (web_frame);
|
js_context = webkit_web_frame_get_global_context (web_frame);
|
||||||
value = sokoke_js_script_eval (js_context, script, NULL);
|
value = sokoke_js_script_eval (js_context, script, NULL);
|
||||||
|
|
||||||
|
#ifdef FORMHISTORY_USE_GDOM
|
||||||
formhistory_suggestions_hide_cb (NULL, NULL, priv);
|
formhistory_suggestions_hide_cb (NULL, NULL, priv);
|
||||||
|
#endif
|
||||||
if (value && *value)
|
if (value && *value)
|
||||||
{
|
{
|
||||||
gchar** inputs = g_strsplit (value, "|||", 0);
|
gchar** inputs = g_strsplit (value, "|||", 0);
|
||||||
|
|
Loading…
Reference in a new issue