[GTK3] Replace deprecated `set_data` with attribute assignment

This commit is contained in:
Calum Lind 2018-11-05 08:38:54 +00:00
parent a7dcf39a32
commit bb0c61bb3f
1 changed files with 1 additions and 1 deletions

View File

@ -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)