From d106091d6e5df26a83460ae484c31753b873368c Mon Sep 17 00:00:00 2001 From: Michael Drake Date: Mon, 13 Aug 2012 14:43:04 +0100 Subject: Pass font plot style out to front end clipboard append function. --- gtk/selection.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'gtk/selection.c') 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; } -- cgit v1.2.3