Skip to content

Commit 229e093

Browse files
committed
[Gtk4] Silence more ATK warnings on the console
Gtk 4.x backend will most likely need totally different implementation. For now let's have less noise in console.
1 parent fb51e54 commit 229e093

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4601,6 +4601,7 @@ static int previousIndexOfNotChar (String string, String searchChars, int startI
46014601
}
46024602

46034603
void addRelation (int type, Accessible target) {
4604+
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
46044605
AccessibleObject targetAccessibleObject = target.getAccessibleObject();
46054606
if (targetAccessibleObject != null) {
46064607
/*
@@ -4634,6 +4635,7 @@ void release () {
46344635
}
46354636

46364637
void removeRelation (int type, Accessible target) {
4638+
if(GTK.GTK4) return; //TODO investigate proper way for GTK 4.x
46374639
AccessibleObject targetAccessibleObject = target.getAccessibleObject();
46384640
if (targetAccessibleObject != null) {
46394641
/*

0 commit comments

Comments
 (0)