From e87e0ac6943a00cb4d1b5ae4e8877dd711dd2270 Mon Sep 17 00:00:00 2001 From: Katerina Koukiou Date: Mon, 26 Feb 2024 14:36:57 +0100 Subject: [PATCH] gui: fix Bytes.new call --- pyanaconda/ui/gui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyanaconda/ui/gui/__init__.py b/pyanaconda/ui/gui/__init__.py index 520c9b942e9a..600eb1e8d9ad 100644 --- a/pyanaconda/ui/gui/__init__.py +++ b/pyanaconda/ui/gui/__init__.py @@ -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