diff options
author | Vincent Sanders <vince@kyllikki.org> | 2019-08-20 23:33:38 +0100 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2019-08-20 23:33:38 +0100 |
commit | 70171fbfdefbd480b425a96f8b06579a8d893348 (patch) | |
tree | b2e5c3a6a46586a2a6b40929ac9c353e7378922d /frontends/gtk/window.c | |
parent | 0bc7ba7ab2771276114e57bfc250082c7545aad1 (diff) | |
download | netsurf-70171fbfdefbd480b425a96f8b06579a8d893348.tar.gz netsurf-70171fbfdefbd480b425a96f8b06579a8d893348.tar.bz2 |
make toolbar url entry display url
Diffstat (limited to 'frontends/gtk/window.c')
-rw-r--r-- | frontends/gtk/window.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/frontends/gtk/window.c b/frontends/gtk/window.c index 4f8be47bd..2ba4b89a9 100644 --- a/frontends/gtk/window.c +++ b/frontends/gtk/window.c @@ -45,6 +45,7 @@ #include "netsurf/keypress.h" #include "desktop/searchweb.h" #include "desktop/textinput.h" +#include "utils/nsurl.h" #include "gtk/window.h" #include "gtk/selection.h" @@ -1360,6 +1361,11 @@ gui_window_event(struct gui_window *gw, enum gui_window_event event) return NSERROR_OK; } +static nserror gui_window_set_url(struct gui_window *gw, nsurl *url) +{ + return nsgtk_toolbar_set_url(gw->toolbar, url); +} + static struct gui_window_table window_table = { .create = gui_window_create, .destroy = gui_window_destroy, |