Skip to content

Commit

Permalink
#4023 silence table warning
Browse files Browse the repository at this point in the history
  • Loading branch information
totaam committed Oct 6, 2023
1 parent 609e6ee commit 3269c95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xpra/gtk/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ def ignorewarnings(fn, *args) -> Any:
class TableBuilder:

def __init__(self, rows=1, columns=2, homogeneous=False, col_spacings=0, row_spacings=0):
self.table = Gtk.Table(rows, columns, homogeneous)
self.table = Gtk.Table(n_rows=rows, n_columns=columns, homogeneous=homogeneous)
self.table.set_col_spacings(col_spacings)
self.table.set_row_spacings(row_spacings)
self.row = 0
Expand Down

0 comments on commit 3269c95

Please sign in to comment.