* 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
This commit is contained in:
Benoît Minisini 2015-09-05 15:45:31 +00:00
parent dd102da9b6
commit 29ce64375f

View file

@ -677,7 +677,7 @@ void gTextArea::paste()
if (gClipboard::getType() != gClipboard::Text) if (gClipboard::getType() != gClipboard::Text)
return; return;
txt = gClipboard::getText(&len, NULL); txt = gClipboard::getText(&len, "text/plain");
if (txt) if (txt)
gtk_text_buffer_insert_at_cursor(_buffer, (const gchar *)txt, len); gtk_text_buffer_insert_at_cursor(_buffer, (const gchar *)txt, len);
} }