diff options
author | Rob Kendrick <rjek@rjek.com> | 2014-01-05 16:45:32 +0000 |
---|---|---|
committer | Rob Kendrick <rjek@rjek.com> | 2014-01-05 16:45:32 +0000 |
commit | 550c8cd73c06f0984ce22b844d5a216d332cee43 (patch) | |
tree | 270a4a7b1d137dd63405b9ffc5cbe73164b549b6 /desktop | |
parent | 0d7f1cfc93008add9a082c2c54de8427ac0f1786 (diff) | |
download | netsurf-550c8cd73c06f0984ce22b844d5a216d332cee43.tar.gz netsurf-550c8cd73c06f0984ce22b844d5a216d332cee43.tar.bz2 |
Change gui_file_gadget_interface to pass gui_window not browser_window, add GTK implementation that of course does not work.
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/browser.c | 2 | ||||
-rw-r--r-- | desktop/gui.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/desktop/browser.c b/desktop/browser.c index 3d279f727..6ec31d22f 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1564,7 +1564,7 @@ static nserror browser_window_callback(hlcache_handle *c, case CONTENT_MSG_GADGETCLICK: if (event->data.gadget_click.gadget->type == GADGET_FILE) { - gui_file_gadget_open(bw, c, + gui_file_gadget_open(bw->window, c, event->data.gadget_click.gadget); } diff --git a/desktop/gui.h b/desktop/gui.h index 4bbf08718..26a9f4b43 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -116,7 +116,7 @@ void gui_drag_save_selection(struct gui_window *g, const char *selection); void gui_start_selection(struct gui_window *g); void gui_clear_selection(struct gui_window *g); -void gui_file_gadget_open(struct browser_window *bw, hlcache_handle *hl, +void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl, struct form_control *gadget); /** |