From 98b22162448ff28b3c0cb1e3f7f3b73b7a247213 Mon Sep 17 00:00:00 2001 From: Jehan Date: Thu, 26 Sep 2024 20:10:47 +0200 Subject: [PATCH] tools: fix another deprecation warning, this time in PyGObject. Fixes: > PyGTKDeprecationWarning: Using positional arguments with the GObject constructor has been deprecated. > Please specify keyword(s) for "label" or use a class specific constructor. > See: https://wiki.gnome.org/PyGObject/InitializerDeprecations --- tools/performance-log-viewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/performance-log-viewer.py b/tools/performance-log-viewer.py index 72861285b7..fc029eafc7 100755 --- a/tools/performance-log-viewer.py +++ b/tools/performance-log-viewer.py @@ -1557,7 +1557,7 @@ class SampleGraphList (Gtk.Box): label.show () if marker.description: - label = Gtk.Label (marker.description, + label = Gtk.Label (label = marker.description, halign = Gtk.Align.END) grid.attach (label, 1, row, 1, 1) label.show ()