comparison dep/animone/src/a11y/atspi.cc @ 372:a65a43766b22

dep/animone: atspi a11y impl didn't work at all and hit an assertion because paper can't code
author Paper <paper@tflc.us>
date Fri, 25 Jul 2025 11:02:29 -0400
parents 886f66775f31
children
comparison
equal deleted inserted replaced
371:c87dcf967cff 372:a65a43766b22
37 for (gint i = 0; i < atspi_get_desktop_count(); i++) { 37 for (gint i = 0; i < atspi_get_desktop_count(); i++) {
38 desktop.reset(atspi_get_desktop(i)); 38 desktop.reset(atspi_get_desktop(i));
39 if (!desktop) 39 if (!desktop)
40 return false; 40 return false;
41 41
42 for (gint j = 0; j < atspi_accessible_get_child_count(application.get(), nullptr); j++) { 42 for (gint j = 0; j < atspi_accessible_get_child_count(desktop.get(), nullptr); j++) {
43 application.reset(atspi_accessible_get_child_at_index(desktop.get(), j, nullptr)); 43 application.reset(atspi_accessible_get_child_at_index(desktop.get(), j, nullptr));
44 if (!application) 44 if (!application)
45 return false; 45 return false;
46 46
47 GError *error = NULL; 47 GError *error = NULL;