[GTK3] Replace deprecated `set_data` with attribute assignment
This commit is contained in:
parent
a7dcf39a32
commit
bb0c61bb3f
|
@ -213,7 +213,7 @@ class GtkUI(Gtk3PluginBase):
|
|||
self.whitelist_model = Gtk.ListStore(str, bool)
|
||||
renderer = Gtk.CellRendererText()
|
||||
renderer.connect('edited', self.on_cell_edited, self.whitelist_model)
|
||||
renderer.set_data('ip', 0)
|
||||
renderer.ip = 0
|
||||
|
||||
column = Gtk.TreeViewColumn('IPs', renderer, text=0, editable=1)
|
||||
column.set_expand(True)
|
||||
|
|
Loading…
Reference in New Issue