diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2014-01-15 12:28:55 +0000 |
commit | 68eaec5cb4208ee80e7c0610361405fd01fc1b69 (patch) | |
tree | aea90291a5f6fe6e8848644d9fe712201d01eaf0 /desktop | |
parent | 0075eab1949e4de071b3649c68ba402b8ffce6fb (diff) | |
download | netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.gz netsurf-68eaec5cb4208ee80e7c0610361405fd01fc1b69.tar.bz2 |
complete move of remaining core gui functions
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/selection.c | 2 | ||||
-rw-r--r-- | desktop/textarea.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/desktop/selection.c b/desktop/selection.c index fc91f1dbb..7535f6915 100644 --- a/desktop/selection.c +++ b/desktop/selection.c @@ -845,7 +845,7 @@ bool selection_copy_to_clipboard(struct selection *s) return false; } - gui_set_clipboard(sel_string.buffer, sel_string.length, + guit->set_clipboard(sel_string.buffer, sel_string.length, sel_string.styles, sel_string.n_styles); free(sel_string.buffer); diff --git a/desktop/textarea.c b/desktop/textarea.c index 423767274..14747252d 100644 --- a/desktop/textarea.c +++ b/desktop/textarea.c @@ -24,11 +24,13 @@ #include <stdint.h> #include <string.h> #include "css/utils.h" + #include "desktop/mouse.h" #include "desktop/textarea.h" #include "desktop/textinput.h" #include "desktop/plotters.h" #include "desktop/scrollbar.h" +#include "desktop/gui_factory.h" #include "render/font.h" #include "utils/log.h" #include "utils/utf8.h" |