summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-20 22:02:37 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-20 22:02:37 +0100
commitb1342796448c01515d8dcb4d992f804a5f2f4fb4 (patch)
tree2e5908936c63de9a60e24b9e142b3a73f0dd926f /gtk
parent74a9ec6de4e4180a1279633de6a4611e57ef2995 (diff)
downloadnetsurf-b1342796448c01515d8dcb4d992f804a5f2f4fb4.tar.gz
netsurf-b1342796448c01515d8dcb4d992f804a5f2f4fb4.tar.bz2
Allow the presence of form inputs to be obtained without knowledge of html content internals.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/scaffolding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/scaffolding.c b/gtk/scaffolding.c
index 84c20ee1e..7973cc743 100644
--- a/gtk/scaffolding.c
+++ b/gtk/scaffolding.c
@@ -162,7 +162,8 @@ nsgtk_scaffolding *scaf_list = NULL;
/** holds the context data for what's under the pointer, when the contextual
* menu is opened. */
-static struct contextual_content current_menu_ctx = { NULL, NULL, NULL };
+static struct contextual_content current_menu_ctx = {
+ NULL, NULL, NULL, CTX_FORM_NONE };
/**