diff options
Diffstat (limited to 'desktop/gui.h')
-rw-r--r-- | desktop/gui.h | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/desktop/gui.h b/desktop/gui.h index 5ca8e038d..72ead54b4 100644 --- a/desktop/gui.h +++ b/desktop/gui.h @@ -18,18 +18,6 @@ typedef struct gui_window gui_window; #include <stdbool.h> #include "netsurf/desktop/browser.h" -struct gui_message -{ - enum { msg_SET_URL } type; - union { - struct { - char* url; - } set_url; - } data; -}; - -typedef struct gui_message gui_message; - gui_window *gui_create_browser_window(struct browser_window *bw); gui_window *gui_create_download_window(struct content *content); void gui_window_destroy(gui_window* g); @@ -43,8 +31,7 @@ unsigned long gui_window_get_width(gui_window* g); void gui_window_set_extent(gui_window* g, unsigned long width, unsigned long height); void gui_window_set_status(gui_window* g, const char* text); void gui_window_set_title(gui_window* g, char* title); - -void gui_window_message(gui_window* g, gui_message* msg); +void gui_window_set_url(gui_window *g, char *url); void gui_download_window_update_status(gui_window *g); void gui_download_window_done(gui_window *g); |