summaryrefslogtreecommitdiff
path: root/java/awt
diff options
context:
space:
mode:
authorLillian Angel <langel@redhat.com>2006-08-08 15:40:48 +0000
committerLillian Angel <langel@redhat.com>2006-08-08 15:40:48 +0000
commitc5c6ce4feb1652d4aeb4049ced53834c4375e196 (patch)
treec4d79529f8e9de625355ffe449244acdc81f2c3c /java/awt
parent37dbfec722600aa6f73de4b10f618a7f7becc2f0 (diff)
downloadclasspath-c5c6ce4feb1652d4aeb4049ced53834c4375e196.tar.gz
2006-08-08 Lillian Angel <langel@redhat.com>
* gnu/java/awt/dnd/peer/gtk/GtkDragSourceContextPeer.java (GtkDragSourceContextPeer): Added FIXME. Changed call to setTarget. * gnu/java/awt/dnd/peer/gtk/GtkDropTargetContextPeer.java (GtkDropTargetContextPeer): Removed target initialization. * java/awt/Component.java (setTarget): Removed commented out code.
Diffstat (limited to 'java/awt')
-rw-r--r--java/awt/Component.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/java/awt/Component.java b/java/awt/Component.java
index 6566efa98..bb5ce3f33 100644
--- a/java/awt/Component.java
+++ b/java/awt/Component.java
@@ -700,10 +700,7 @@ public abstract class Component
public void setDropTarget(DropTarget dt)
{
this.dropTarget = dt;
- // XXX this is bogus, Component cannot have a dependency on GTK
- // if (dropTarget != null)
- // dropTarget.getDropTargetContext().addNotify(
- // new GtkDropTargetContextPeer(this));
+ dropTarget.addNotify(peer);
}
/**