diff options
author | Billy Biggs <bbiggs> | 2005-11-07 21:35:21 +0000 |
---|---|---|
committer | Billy Biggs <bbiggs> | 2005-11-07 21:35:21 +0000 |
commit | 1763d40aff712f825f32e1f4d8a3a7dce49533f0 (patch) | |
tree | affd0bedbecb6818c7ebd9ce22cffaa9be301cee /bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java | |
parent | 041ec3d8e29e10aecafd323122a8f4c8741792fe (diff) | |
download | eclipse.platform.swt-1763d40aff712f825f32e1f4d8a3a7dce49533f0.tar.gz eclipse.platform.swt-1763d40aff712f825f32e1f4d8a3a7dce49533f0.tar.xz eclipse.platform.swt-1763d40aff712f825f32e1f4d8a3a7dce49533f0.zip |
Avoid having widget code depend on a11y support.
Diffstat (limited to 'bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java')
-rw-r--r-- | bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java index 4803a4f618..8d9c55a0c6 100644 --- a/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java +++ b/bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java @@ -13,7 +13,6 @@ package org.eclipse.swt.widgets; import org.eclipse.swt.*; import org.eclipse.swt.internal.*; -import org.eclipse.swt.internal.accessibility.gtk.ATK; import org.eclipse.swt.internal.gtk.*; import org.eclipse.swt.graphics.*; @@ -100,7 +99,7 @@ void addRelation (Control control) { int /*long*/ accessible = OS.gtk_widget_get_accessible (labelHandle); int /*long*/ controlAccessible = OS.gtk_widget_get_accessible (control.handle); if (accessible != 0 && controlAccessible != 0) { - ATK.atk_object_add_relationship (controlAccessible, ATK.ATK_RELATION_LABELLED_BY, accessible); + OS.atk_object_add_relationship (controlAccessible, OS.ATK_RELATION_LABELLED_BY, accessible); } } |