summaryrefslogtreecommitdiff
path: root/beos
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-01-13 22:54:19 +0000
committerVincent Sanders <vince@kyllikki.org>2014-01-13 22:54:19 +0000
commitd18c8ed4521714c3fff3cca64685b8192ca0e075 (patch)
tree292ebb4a9f4f39ed8a61a33de4c8b169416214e5 /beos
parente82d83f1847ebc369a5f48a18217a8f5fecf3824 (diff)
downloadnetsurf-d18c8ed4521714c3fff3cca64685b8192ca0e075.tar.gz
netsurf-d18c8ed4521714c3fff3cca64685b8192ca0e075.tar.bz2
move teh final optional window operations into the table
Diffstat (limited to 'beos')
-rw-r--r--beos/gui.cpp8
-rw-r--r--beos/window.cpp18
2 files changed, 2 insertions, 24 deletions
diff --git a/beos/gui.cpp b/beos/gui.cpp
index 42a681c30..efac0bb4c 100644
--- a/beos/gui.cpp
+++ b/beos/gui.cpp
@@ -1073,14 +1073,6 @@ bool path_add_part(char *path, int length, const char *newpart)
return true;
}
-void gui_file_gadget_open(struct gui_window *g, hlcache_handle *hl,
- struct form_control *gadget)
-{
- LOG(("File open dialog rquest for %p/%p", g, gadget));
- /* browser_window_set_gadget_filename(bw, gadget, "filename"); */
-}
-
-
static struct gui_table beos_gui_table = {
.poll = gui_poll,
.quit = gui_quit,
diff --git a/beos/window.cpp b/beos/window.cpp
index 84199242d..a7bdf411e 100644
--- a/beos/window.cpp
+++ b/beos/window.cpp
@@ -1268,18 +1268,7 @@ static void gui_window_new_content(struct gui_window *g)
g->view->UnlockLooper();
}
-void gui_drag_save_object(gui_save_type type, hlcache_handle *c,
- struct gui_window *g)
-{
-
-}
-
-void gui_drag_save_selection(struct gui_window *g, const char *selection)
-{
-
-}
-
-void gui_start_selection(struct gui_window *g)
+static void gui_start_selection(struct gui_window *g)
{
if (!g->view->LockLooper())
return;
@@ -1289,10 +1278,6 @@ void gui_start_selection(struct gui_window *g)
g->view->UnlockLooper();
}
-void gui_clear_selection(struct gui_window *g)
-{
-}
-
void gui_get_clipboard(char **buffer, size_t *length)
{
BMessage *clip;
@@ -1376,6 +1361,7 @@ static struct gui_window_table gui_window_table = {
.set_pointer = gui_window_set_pointer,
.place_caret = gui_window_place_caret,
.remove_caret = gui_window_remove_caret,
+ .start_selection = gui_start_selection,
/* from scaffold */
.set_icon = gui_window_set_icon,