summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVeronika Irvine <veronika>2005-06-09 19:51:12 +0000
committerVeronika Irvine <veronika>2005-06-09 19:51:12 +0000
commit5d419d18569b703d8542a7a0cfbd9544cf960f4b (patch)
tree9c87e98045a8f764dde0b0524ef6f7216bb6de65
parent997b95a2e91272f7e7303df3bdf845050c97d2a2 (diff)
downloadeclipse.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.java2
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;