From 29ce64375fa650ca82b2faab53e8de835ef05eb6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Beno=C3=AEt=20Minisini?= Date: Sat, 5 Sep 2015 15:45:31 +0000 Subject: [PATCH] [GB.GTK] * BUG: TextArea.Paste() and CTRL+V works correctly now. [GB.GTK3] * BUG: TextArea.Paste() and CTRL+V works correctly now. git-svn-id: svn://localhost/gambas/trunk@7272 867c0c6c-44f3-4631-809d-bfa615b0a4ec --- gb.gtk/src/gtextarea.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gb.gtk/src/gtextarea.cpp b/gb.gtk/src/gtextarea.cpp index 8eade350c..9309f5d4f 100644 --- a/gb.gtk/src/gtextarea.cpp +++ b/gb.gtk/src/gtextarea.cpp @@ -677,7 +677,7 @@ void gTextArea::paste() if (gClipboard::getType() != gClipboard::Text) return; - txt = gClipboard::getText(&len, NULL); + txt = gClipboard::getText(&len, "text/plain"); if (txt) gtk_text_buffer_insert_at_cursor(_buffer, (const gchar *)txt, len); }