summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2012-08-13 14:43:04 +0100
committerMichael Drake <tlsa@netsurf-browser.org>2012-08-13 14:43:04 +0100
commitd106091d6e5df26a83460ae484c31753b873368c (patch)
tree4312298dd2dd118c611c6ff5e0a144c7a0b0aa35 /gtk
parent68947c377ed358db310b32ee241db375e0b51de4 (diff)
downloadnetsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.gz
netsurf-d106091d6e5df26a83460ae484c31753b873368c.tar.bz2
Pass font plot style out to front end clipboard append function.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/selection.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gtk/selection.c b/gtk/selection.c
index 14935671f..36d09691d 100644
--- a/gtk/selection.c
+++ b/gtk/selection.c
@@ -31,12 +31,13 @@ static GString *current_selection = NULL;
static GtkClipboard *clipboard;
-bool gui_add_to_clipboard(const char *text, size_t length, bool space)
+bool gui_add_to_clipboard(const char *text, size_t length, bool space,
+ const plot_font_style_t *fstyle)
{
/* add the text from this box */
- current_selection = g_string_append_len (current_selection,
+ current_selection = g_string_append_len(current_selection,
text, length);
- if (space) g_string_append (current_selection, " ");
+ if (space) g_string_append(current_selection, " ");
return true;
}