From d18c8ed4521714c3fff3cca64685b8192ca0e075 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 13 Jan 2014 22:54:19 +0000 Subject: move teh final optional window operations into the table --- beos/gui.cpp | 8 -------- beos/window.cpp | 18 ++---------------- 2 files changed, 2 insertions(+), 24 deletions(-) (limited to 'beos') 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, -- cgit v1.2.3