Skip to content

Commit

Permalink
Stop crash of AccessibleObject on GTK 4
Browse files Browse the repository at this point in the history
GTK 4 port crashes on start up if worspace chooser has to be shown as
AccessibleObject is totally disfunctional on GTK 4.x version but later
on it tries to send events.
Disable it for now.
  • Loading branch information
akurtakov committed Mar 5, 2025
1 parent cac15c3 commit 32032fb
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*******************************************************************************
* Copyright (c) 2000, 2018 IBM Corporation and others.
* Copyright (c) 2000, 2025 IBM Corporation and others.
*
* This program and the accompanying materials
* are made available under the terms of the Eclipse Public License 2.0
Expand Down Expand Up @@ -4655,6 +4655,7 @@ void selectionChanged () {
}

void sendEvent(int event, Object eventData) {
if(GTK.GTK4) return; //TODO reenable for GTK 4.x
switch (event) {
case ACC.EVENT_SELECTION_CHANGED:
OS.g_signal_emit_by_name (atkHandle, ATK.selection_changed);
Expand Down

0 comments on commit 32032fb

Please sign in to comment.