summaryrefslogtreecommitdiff
path: root/gtk/gui.h
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gui.h')
-rw-r--r--gtk/gui.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/gtk/gui.h b/gtk/gui.h
index 26f51eebf..63832f87a 100644
--- a/gtk/gui.h
+++ b/gtk/gui.h
@@ -19,11 +19,7 @@
#ifndef GTK_GUI_H
#define GTK_GUI_H
-#include <inttypes.h>
-#include <stdbool.h>
-#include <gtk/gtk.h>
-
-#include "utils/nsurl.h"
+struct nsurl;
/** glade file paths. */
struct glade_file_location_s {
@@ -70,7 +66,7 @@ extern char **respaths;
uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *eventkey);
/** login window request. */
-extern void gui_401login_open(nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw);
+extern void gui_401login_open(struct nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw);
/** set when no windows remain open. */
extern bool nsgtk_complete;