aboutsummaryrefslogtreecommitdiffhomepage
path: root/gtk
diff options
context:
space:
mode:
Diffstat (limited to 'gtk')
-rw-r--r--gtk/ScintillaGTK.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/ScintillaGTK.cxx b/gtk/ScintillaGTK.cxx
index f29c8b627..3344a8684 100644
--- a/gtk/ScintillaGTK.cxx
+++ b/gtk/ScintillaGTK.cxx
@@ -1326,7 +1326,7 @@ void ScintillaGTK::ReceivedSelection(GtkSelectionData *selection_data) {
if ((atomSought == atomUTF8) && (selection_data->length <= 0)) {
atomSought = atomString;
gtk_selection_convert(GTK_WIDGET(PWidget(wMain)),
- atomClipboard, atomSought, GDK_CURRENT_TIME);
+ selection_data->selection, atomSought, GDK_CURRENT_TIME);
} else if ((selection_data->length > 0) &&
((selection_data->type == GDK_TARGET_STRING) || (selection_data->type == atomUTF8))) {
SelectionText selText;