projects/guix·blob python-team · refs

19 lines · 725 B

1Upstream-Status: https://github.com/lgi-devs/lgi/pull/342
2---
3 tests/pango.lua | 3 +--
4 1 file changed, 1 insertion(+), 2 deletions(-)
5
6diff --git a/tests/pango.lua b/tests/pango.lua
7index e20a6799..ea00b903 100644
8--- a/tests/pango.lua
9+++ b/tests/pango.lua
10@@ -35,7 +35,6 @@ function pango.glyphstring()
11 local offset = items[i].offset
12 local length = items[i].length
13 local analysis = items[i].analysis
14- local pgs = Pango.GlyphString()
15- Pango.shape(string.sub(s,1+offset), length, analysis, pgs)
16+ local pgs = Pango.shape(string.sub(s,1+offset), length, analysis)
17 -- Pull out individual glyphs with pgs.glyphs
18 local glyphs = pgs.glyphs
19 check(type(glyphs) == 'table')