From 9209f8e6cbd2423a243dcab05bbff2e41d193d3f Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sun, 9 Feb 2003 19:33:32 +0000 Subject: [project @ 2003-02-09 19:32:24 by bursa] Fix some warnings. svn path=/import/netsurf/; revision=99 --- desktop/browser.c | 9 +++++++-- desktop/browser.h | 4 ++-- 2 files changed, 9 insertions(+), 4 deletions(-) (limited to 'desktop') diff --git a/desktop/browser.c b/desktop/browser.c index f18ea38f4..546f08ed3 100644 --- a/desktop/browser.c +++ b/desktop/browser.c @@ -1,5 +1,5 @@ /** - * $Id: browser.c,v 1.23 2003/02/09 12:58:14 bursa Exp $ + * $Id: browser.c,v 1.25 2003/02/09 19:33:32 bursa Exp $ */ #include "netsurf/content/cache.h" @@ -18,6 +18,9 @@ #include #include +void browser_window_start_throbber(struct browser_window* bw); +void browser_window_stop_throbber(struct browser_window* bw); +void browser_window_reformat(struct browser_window* bw); void browser_window_text_selection(struct browser_window* bw, int click_x, int click_y, int click_type); void browser_window_clear_text_selection(struct browser_window* bw); void browser_window_change_text_selection(struct browser_window* bw, struct box_position* new_start, struct box_position* new_end); @@ -169,7 +172,7 @@ struct browser_window* create_browser_window(int flags, int width, int height) return bw; } -void browser_window_set_status(struct browser_window* bw, char* text) +void browser_window_set_status(struct browser_window* bw, const char* text) { if (bw->window != NULL) gui_window_set_status(bw->window, text); @@ -418,6 +421,8 @@ int browser_window_gadget_click(struct browser_window* bw, int click_x, int clic } } xfree(click_boxes); + + return 0; } int browser_window_action(struct browser_window* bw, struct browser_action* act) diff --git a/desktop/browser.h b/desktop/browser.h index 3271155b9..a1206f7af 100644 --- a/desktop/browser.h +++ b/desktop/browser.h @@ -1,5 +1,5 @@ /** - * $Id: browser.h,v 1.7 2003/02/09 12:58:14 bursa Exp $ + * $Id: browser.h,v 1.8 2003/02/09 19:33:19 bursa Exp $ */ #ifndef _NETSURF_DESKTOP_BROWSER_H_ @@ -95,7 +95,7 @@ void browser_window_destroy(struct browser_window* bw); void browser_window_open_location(struct browser_window* bw, char* url); void browser_window_open_location_historical(struct browser_window* bw, char* url); int browser_window_action(struct browser_window* bw, struct browser_action* act); -void browser_window_set_status(struct browser_window* bw, char* text); +void browser_window_set_status(struct browser_window* bw, const char* text); void browser_window_back(struct browser_window* bw); void browser_window_forward(struct browser_window* bw); -- cgit v1.2.3