Skip to content

fix(a11y): implement the GtkAccessibleText vfuncs added in GTK 4.22 - #2

Open
perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
ncz-os:pr/accessibletext-vfuncs-20261014
Open

perlowja wants to merge 1 commit into
singularityos-lab:mainfrom
ncz-os:pr/accessibletext-vfuncs-20261014

Conversation

@perlowja

Copy link
Copy Markdown

GTK 4.22 added five GtkAccessibleText vfuncs that Vala 0.56 declares abstract,
so WriteDocView no longer builds against GTK 4.24. Each now reports
unsupported. Verified: main fails to build on Debian forky; this builds.
AI assistance: disclosed

GTK 4.22 added get_default_attributes, get_extents, get_offset,
set_caret_position and set_selection to GtkAccessibleText, and Vala 0.56
declares them abstract, so WriteDocView no longer builds against GTK 4.24.
Report each as unsupported.

Assisted-by: DeepSeek:deepseek-flash
AI-Scope: implemented the five GtkAccessibleText vfuncs GTK 4.22 added, each reporting unsupported.
@perlowja

Copy link
Copy Markdown
Author

@mirkobrombin for review when you have a moment.

@perlowja

Copy link
Copy Markdown
Author

@mirkobrombin this still applies cleanly to current main; ready for review when you have time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant