diff options
author | Vincent Sanders <vince@kyllikki.org> | 2014-01-16 00:52:17 +0000 |
---|---|---|
committer | Vincent Sanders <vince@kyllikki.org> | 2014-01-16 00:52:17 +0000 |
commit | d47fed45245ddcecfb69d1e951ce627bdb6a44ff (patch) | |
tree | 53eacf0d3bea9804c53dd7e59ad335959474ced5 /gtk | |
parent | 38cb39339a8f1f9a0afb69340a404fd767db5a79 (diff) | |
download | netsurf-d47fed45245ddcecfb69d1e951ce627bdb6a44ff.tar.gz netsurf-d47fed45245ddcecfb69d1e951ce627bdb6a44ff.tar.bz2 |
move 401 login into operation table
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/gui.c | 1 | ||||
-rw-r--r-- | gtk/gui.h | 6 | ||||
-rw-r--r-- | gtk/login.c | 1 |
3 files changed, 6 insertions, 2 deletions
@@ -1143,6 +1143,7 @@ static struct gui_browser_table nsgtk_browser_table = { .cert_verify = gui_cert_verify, .filename_from_path = filename_from_path, .path_add_part = path_add_part, + .login = gui_401login_open, }; /** @@ -29,7 +29,8 @@ #include <inttypes.h> #include <stdbool.h> #include <gtk/gtk.h> -//#include <glade/glade.h> + +#include "utils/nsurl.h" struct glade_file_location_s { char *netsurf; @@ -60,5 +61,8 @@ extern GdkPixbuf *favicon_pixbuf; /* favicon default pixbuf */ uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *); +extern void gui_401login_open(nsurl *url, const char *realm, + nserror (*cb)(bool proceed, void *pw), void *cbpw); + #endif /* GTK_GUI_H */ diff --git a/gtk/login.c b/gtk/login.c index 3b8d68254..baf37d094 100644 --- a/gtk/login.c +++ b/gtk/login.c @@ -28,7 +28,6 @@ #include "content/hlcache.h" #include "content/urldb.h" #include "desktop/browser.h" -#include "desktop/401login.h" #include "desktop/gui.h" #include "utils/messages.h" #include "utils/url.h" |