summaryrefslogtreecommitdiff
path: root/amiga/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-13 22:54:19 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-13 22:54:19 +0000
commitd18c8ed4521714c3fff3cca64685b8192ca0e075 (patch)
tree292ebb4a9f4f39ed8a61a33de4c8b169416214e5 /amiga/gui.c
parente82d83f1847ebc369a5f48a18217a8f5fecf3824 (diff)
downloadnetsurf-d18c8ed4521714c3fff3cca64685b8192ca0e075.tar.gz
netsurf-d18c8ed4521714c3fff3cca64685b8192ca0e075.tar.bz2
move teh final optional window operations into the table
Diffstat (limited to 'amiga/gui.c')
-rw-r--r--amiga/gui.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c
index 4592eda7a..13c32cd8b 100644
--- a/amiga/gui.c
+++ b/amiga/gui.c
@@ -5066,7 +5066,7 @@ void ami_gui_splash_close(Object *win_obj)
if(win_obj) DisposeObject(win_obj);
}
-void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
+static void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
struct form_control *gadget)
{
LOG(("File open dialog rquest for %p/%p", g, gadget));
@@ -5103,6 +5103,10 @@ static struct gui_window_table ami_window_table = {
.remove_caret = gui_window_remove_caret,
.drag_start = gui_window_drag_start,
.new_content = gui_window_new_content,
+ .file_gadget_open = gui_file_gadget_open,
+ .drag_save_object = gui_drag_save_object,
+ .drag_save_selection =gui_drag_save_selection,
+ .start_selection = gui_start_selection,
/* from theme */
.set_pointer = gui_window_set_pointer,