Only define formhistory_suggestions_hide_cb with GDOM
This commit is contained in:
parent
556546320b
commit
bf4ddd3358
2 changed files with 3 additions and 10 deletions
|
@ -27,7 +27,7 @@
|
|||
typedef struct
|
||||
{
|
||||
sqlite3* db;
|
||||
#if FORMHISTORY_USE_GDOM
|
||||
#ifdef FORMHISTORY_USE_GDOM
|
||||
WebKitDOMElement* element;
|
||||
int completion_timeout;
|
||||
GtkTreeModel* completion_model;
|
||||
|
@ -55,9 +55,11 @@ formhistory_setup_suggestions (WebKitWebView* web_view,
|
|||
JSContextRef js_context,
|
||||
MidoriExtension* extension);
|
||||
|
||||
#ifdef FORMHISTORY_USE_GDOM
|
||||
void
|
||||
formhistory_suggestions_hide_cb (WebKitDOMElement* element,
|
||||
WebKitDOMEvent* dom_event,
|
||||
FormHistoryPriv* priv);
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
|
|
@ -126,15 +126,6 @@ formhistory_setup_suggestions (WebKitWebView* web_view,
|
|||
g_string_free (suggestions, TRUE);
|
||||
}
|
||||
|
||||
void
|
||||
formhistory_suggestions_hide_cb (WebKitDOMElement* element,
|
||||
WebKitDOMEvent* dom_event,
|
||||
FormHistoryPriv* priv)
|
||||
{
|
||||
/* Unused in JS frontend */
|
||||
return;
|
||||
}
|
||||
|
||||
void
|
||||
formhistory_private_destroy (FormHistoryPriv *priv)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue