diff options
author | Veronika Irvine <veronika> | 2005-06-09 19:51:12 +0000 |
---|---|---|
committer | Veronika Irvine <veronika> | 2005-06-09 19:51:12 +0000 |
commit | 5d419d18569b703d8542a7a0cfbd9544cf960f4b (patch) | |
tree | 9c87e98045a8f764dde0b0524ef6f7216bb6de65 | |
parent | 997b95a2e91272f7e7303df3bdf845050c97d2a2 (diff) | |
download | eclipse.platform.swt-5d419d18569b703d8542a7a0cfbd9544cf960f4b.tar.gz eclipse.platform.swt-5d419d18569b703d8542a7a0cfbd9544cf960f4b.tar.xz eclipse.platform.swt-5d419d18569b703d8542a7a0cfbd9544cf960f4b.zip |
Bug96679 sometimes type is not the same as the target we requested.
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java index 891fa8bfbb..edae947e44 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java +++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java @@ -297,7 +297,7 @@ public Object getContents(Transfer transfer, int clipboards) { GtkSelectionData gtkSelectionData = new GtkSelectionData(); OS.memmove(gtkSelectionData, selection_data, GtkSelectionData.sizeof); TransferData tdata = new TransferData(); - tdata.type = gtkSelectionData.target; + tdata.type = gtkSelectionData.type; tdata.pValue = gtkSelectionData.data; tdata.length = gtkSelectionData.length; tdata.format = gtkSelectionData.format; |