summaryrefslogtreecommitdiff
path: root/desktop
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-02-09 19:33:32 +0000
committerJames Bursa <james@netsurf-browser.org>2003-02-09 19:33:32 +0000
commit9209f8e6cbd2423a243dcab05bbff2e41d193d3f (patch)
tree219a46e13915566c5f6f5a31dec1d580852ef6f9 /desktop
parent8e1f614aadb2941a0eb7f4f64218f1baf1bcb2a4 (diff)
downloadnetsurf-9209f8e6cbd2423a243dcab05bbff2e41d193d3f.tar.gz
netsurf-9209f8e6cbd2423a243dcab05bbff2e41d193d3f.tar.bz2
[project @ 2003-02-09 19:32:24 by bursa]
Fix some warnings. svn path=/import/netsurf/; revision=99
Diffstat (limited to 'desktop')
-rw-r--r--desktop/browser.c9
-rw-r--r--desktop/browser.h4
2 files changed, 9 insertions, 4 deletions
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 <time.h>
#include <ctype.h>
+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);