Skip to content

Conversation

@reinerh
Copy link
Contributor

@reinerh reinerh commented Jul 15, 2025

@reinerh
Copy link
Contributor Author

reinerh commented Jul 15, 2025

It looks like the CI pipeline is still using an older version of Pango...

@psychon
Copy link
Collaborator

psychon commented Jul 17, 2025

Dunno what to really do about this. Something like this looks way too complicated:

lgi/lgi/override/Pango.lua

Lines 169 to 171 in a412921

-- Pango.GlyphString is struct with counted array inside, until
-- Pango-1.38 which has fixed annotation. Fix for previous versions.
if gi.Pango.GlyphString.fields.glyphs.typeinfo.tag ~= 'array' then

Looking for version in the source code finds things like

if Gtk._version == '2.0' then
. So perhaps you can switch between the old / new API in the test with something like if Pango._version <= 'dunno'.

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.

Error raised while calling 'lgi.cbk (number): Regress': attempt to call a number value

3 participants