projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
NPAR TESTS: Fix "NPAR TESTS BINOMIAL, P = 0.5; N1/N2 < 1" test failure.
[pspp]
/
src
/
ui
/
gui
/
helper.c
diff --git
a/src/ui/gui/helper.c
b/src/ui/gui/helper.c
index 1ad77bc96ebf0190a633ca02b70179970980e3fb..a68c0c2b80468de894d8b13780d57b0f43ce21ea 100644
(file)
--- a/
src/ui/gui/helper.c
+++ b/
src/ui/gui/helper.c
@@
-282,8
+282,8
@@
on_delete (GtkWindow *window, GdkEvent *e, GtkWindow **addr)
return FALSE;
}
return FALSE;
}
-void
-paste_syntax_to_window (
const
gchar *syntax)
+char *
+paste_syntax_to_window (gchar *syntax)
{
static GtkWidget *the_syntax_pasteboard = NULL;
{
static GtkWidget *the_syntax_pasteboard = NULL;
@@
-304,6
+304,8
@@
paste_syntax_to_window (const gchar *syntax)
gtk_text_buffer_end_user_action (buffer);
gtk_widget_show (the_syntax_pasteboard);
gtk_text_buffer_end_user_action (buffer);
gtk_widget_show (the_syntax_pasteboard);
+
+ return syntax;
}
}