diff options
Diffstat (limited to 'frontends/beos/gui.cpp')
-rw-r--r-- | frontends/beos/gui.cpp | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/frontends/beos/gui.cpp b/frontends/beos/gui.cpp index e9ab9737a..cbfe352c8 100644 --- a/frontends/beos/gui.cpp +++ b/frontends/beos/gui.cpp @@ -750,12 +750,12 @@ void nsbeos_gui_poll(void) unsigned int fd_count = 0; bigtime_t next_schedule = 0; - /* get any active fetcher fd */ - fetch_fdset(&read_fd_set, &write_fd_set, &exc_fd_set, &max_fd); - /* run the scheduler */ schedule_run(); + /* get any active fetcher fd */ + fetch_fdset(&read_fd_set, &write_fd_set, &exc_fd_set, &max_fd); + // our own event pipe FD_SET(sEventPipe[0], &read_fd_set); @@ -790,7 +790,7 @@ void nsbeos_gui_poll(void) if (len == sizeof(void *)) { NSLOG(netsurf, DEEPDEBUG, "gui_poll: BMessage.what %-4.4s\n", - &(message->what)); + (char *)&(message->what)); nsbeos_dispatch_event(message); } } @@ -834,7 +834,9 @@ void nsbeos_gui_view_source(struct hlcache_handle *content) BPath path; status_t err; size_t size; - const char *source = content_get_source_data(content, &size); + const uint8_t *source; + + source = content_get_source_data(content, &size); if (!content || !source) { beos_warn_user("MiscError", "No document source"); @@ -991,12 +993,11 @@ static struct gui_fetch_table beos_fetch_table = { static struct gui_misc_table beos_misc_table = { beos_schedule, - beos_warn_user, gui_quit, gui_launch_url, - NULL, //cert_verify - gui_401login_open, + NULL, //401login NULL, // pdf_password (if we have Haru support) + NULL, // present_cookies }; |