Remove unused variables (see #103)

This commit is contained in:
coderkun 2024-11-03 10:44:11 +01:00
commit bcfd17a8ae
5 changed files with 8 additions and 9 deletions

View file

@ -103,8 +103,8 @@ class ServerPanel(Adw.Bin):
button = Gtk.CheckButton.new_with_label(device.get_name())
if device.is_enabled():
button.set_active(True)
handler = button.connect('toggled',
self.on_output_device_toggled, device)
button.connect('toggled', self.on_output_device_toggled,
device)
self.output_devices.insert(button, -1)
self._output_buttons[device.get_id()] = button