mirror of
https://gitlab.gnome.org/GNOME/gimp.git
synced 2025-07-03 09:23:24 +00:00
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
This commit is contained in:
parent
1726a6f89f
commit
98b2216244
1 changed files with 1 additions and 1 deletions
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue