diff --git a/xpra/gtk/widget.py b/xpra/gtk/widget.py index c2706ad3d3..975aa49f45 100644 --- a/xpra/gtk/widget.py +++ b/xpra/gtk/widget.py @@ -171,7 +171,8 @@ def color_parse(*args) -> Gdk.Color | None: ok = v.parse(*args) if ok: return v.to_color() # pylint: disable=no-member - ok, v = Gdk.Color.parse(*args) + with IgnoreWarningsContext(): + ok, v = Gdk.Color.parse(*args) if ok: return v return None