Skip to content

Commit

Permalink
gui: fix Bytes.new call
Browse files Browse the repository at this point in the history
  • Loading branch information
KKoukiou committed Feb 26, 2024
1 parent d9ccd83 commit e87e0ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pyanaconda/ui/gui/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ def __init__(self, fullscreen=False, decorated=False):
# bytes, colorspace (there is no other colorspace), has-alpha,
# bits-per-sample (has to be 8), width, height,
# rowstride (bytes between row starts, but we only have one row)
self._transparent_base = GdkPixbuf.Pixbuf.new_from_bytes(Bytes.new([0, 0, 0, 127]),
self._transparent_base = GdkPixbuf.Pixbuf.new_from_bytes(Bytes.g_bytes_new([0, 0, 0, 127]),
GdkPixbuf.Colorspace.RGB, True, 8, 1, 1, 1)

# Contain everything in an overlay so the window can be overlayed with the transparency
Expand Down

0 comments on commit e87e0ac

Please sign in to comment.