summaryrefslogtreecommitdiffstats
path: root/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
diff options
context:
space:
mode:
authorSilenio Quarti <silenio_quarti@ca.ibm.com>2012-02-06 15:03:34 -0500
committerSilenio Quarti <silenio_quarti@ca.ibm.com>2012-02-06 15:03:48 -0500
commitd7e72ee1edd674fa1cd0705e281c907c9694b440 (patch)
tree69c8eb88a84a6007ec7f21c31082f2958890981b /bundles/org.eclipse.swt/Eclipse SWT Drag and Drop
parentcfd758f6bc3105a48b70306887167291ec4ae15f (diff)
downloadeclipse.platform.swt-d7e72ee1edd674fa1cd0705e281c907c9694b440.tar.gz
eclipse.platform.swt-d7e72ee1edd674fa1cd0705e281c907c9694b440.tar.xz
eclipse.platform.swt-d7e72ee1edd674fa1cd0705e281c907c9694b440.zip
Bug 354978 - Use Cairo as backend for graphics operations (comment#18)
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT Drag and Drop')
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java2
-rw-r--r--bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java2
2 files changed, 0 insertions, 4 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
index 5eeddf3ad0..dc77be2cf6 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TableDragSourceEffect.java
@@ -81,8 +81,6 @@ public class TableDragSourceEffect extends DragSourceEffect {
Table table = (Table) control;
if (OS.GTK_VERSION < OS.VERSION (2, 2, 0)) return null;
- //TODO: Use Cairo
- if (OS.USE_CAIRO) return null;
//TEMPORARY CODE
if (table.isListening(SWT.EraseItem) || table.isListening (SWT.PaintItem)) return null;
/*
diff --git a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
index fa475d2db6..586fb56338 100644
--- a/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
+++ b/bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/TreeDragSourceEffect.java
@@ -80,8 +80,6 @@ public class TreeDragSourceEffect extends DragSourceEffect {
Tree tree = (Tree) control;
if (OS.GTK_VERSION < OS.VERSION (2, 2, 0)) return null;
- //TODO: Use Cairo
- if (OS.USE_CAIRO) return null;
//TEMPORARY CODE
if (tree.isListening(SWT.EraseItem) || tree.isListening (SWT.PaintItem)) return null;
/*