From b6937419e17c80613f5b1436ce9833e24d6221fa Mon Sep 17 00:00:00 2001 From: Chris Young Date: Fri, 9 Apr 2010 22:38:51 +0000 Subject: Fix broken event handling. Any structures attached to the window_list *must* have a struct nsObject * as their first entry, and handle events outside of gui.c. svn path=/trunk/netsurf/; revision=10332 --- amiga/login.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'amiga/login.h') diff --git a/amiga/login.h b/amiga/login.h index 0732c5082..1f0236d72 100755 --- a/amiga/login.h +++ b/amiga/login.h @@ -19,11 +19,10 @@ #ifndef AMIGA_LOGIN_H #define AMIGA_LOGIN_H struct gui_login_window { + struct nsObject *node; struct Window *win; Object *objects[GID_LAST]; - struct nsObject *node; struct browser_window *bw; - ULONG pad[3]; char *url; char *realm; char *host; @@ -31,4 +30,5 @@ struct gui_login_window { void ami_401login_close(struct gui_login_window *lw); void ami_401login_login(struct gui_login_window *lw); +BOOL ami_401login_event(struct gui_login_window *lw); #endif -- cgit v1.2.1