summaryrefslogtreecommitdiff
path: root/gtk/gui.c
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2014-02-01 12:41:23 +0000
committerVincent Sanders <vince@kyllikki.org>2014-02-01 12:41:23 +0000
commit8bb0e87b1a8fc9872762f5caa856f64c4e9f1cdd (patch)
treed7f69b4d1aaf196513103004c0afb4d110d7be9f /gtk/gui.c
parent1f62b5a980020b0e5df0e68cb476083ba2dc1fe5 (diff)
downloadnetsurf-8bb0e87b1a8fc9872762f5caa856f64c4e9f1cdd.tar.gz
netsurf-8bb0e87b1a8fc9872762f5caa856f64c4e9f1cdd.tar.bz2
make clipboard table operations static and remove unecessary includes
Diffstat (limited to 'gtk/gui.c')
-rw-r--r--gtk/gui.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/gtk/gui.c b/gtk/gui.c
index c885ad30f..fdf64ad25 100644
--- a/gtk/gui.c
+++ b/gtk/gui.c
@@ -1021,11 +1021,6 @@ uint32_t gtk_gui_gdkkey_to_nskey(GdkEventKey *key)
}
-static struct gui_clipboard_table nsgtk_clipboard_table = {
- .get = gui_get_clipboard,
- .set = gui_set_clipboard,
-};
-
static struct gui_browser_table nsgtk_browser_table = {
.poll = gui_poll,
@@ -1048,7 +1043,7 @@ int main(int argc, char** argv)
struct gui_table nsgtk_gui_table = {
.browser = &nsgtk_browser_table,
.window = nsgtk_window_table,
- .clipboard = &nsgtk_clipboard_table,
+ .clipboard = nsgtk_clipboard_table,
.download = nsgtk_download_table,
.fetch = nsgtk_fetch_table,
};