typedef struct
{
sqlite3* db;
- #if FORMHISTORY_USE_GDOM
+ #ifdef FORMHISTORY_USE_GDOM
WebKitDOMElement* element;
int completion_timeout;
GtkTreeModel* completion_model;
JSContextRef js_context,
MidoriExtension* extension);
+#ifdef FORMHISTORY_USE_GDOM
void
formhistory_suggestions_hide_cb (WebKitDOMElement* element,
WebKitDOMEvent* dom_event,
FormHistoryPriv* priv);
+#endif
#endif
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)
{