Skip to content

Commit 72a430c

Browse files
committed
Update create_context function in genicons.py for clarity
1 parent 468109f commit 72a430c

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/genicons.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -82,9 +82,8 @@ def show_chars(ctx, chars, foreground, padding, width, height):
8282

8383
def create_context(width, height):
8484
surface = cairo.ImageSurface(cairo.FORMAT_ARGB32, width, height)
85-
context = cairo.Context(surface)
86-
# ctx = pangocairo.CairoContext(context)
87-
return context
85+
ctx = cairo.Context(surface)
86+
return ctx
8887

8988

9089
def set_background(ctx, background, width, height):

0 commit comments

Comments
 (0)