From 953718b81b91adcef2002771b46b3143687f1470 Mon Sep 17 00:00:00 2001 From: Leonhard Kargl Date: Fri, 11 Oct 2024 13:27:54 +0200 Subject: [PATCH] Remove commented code --- src/Widgets/DisplayWidget.vala | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/src/Widgets/DisplayWidget.vala b/src/Widgets/DisplayWidget.vala index b4709d8d..2cbfbc5f 100644 --- a/src/Widgets/DisplayWidget.vala +++ b/src/Widgets/DisplayWidget.vala @@ -429,19 +429,10 @@ public class Display.DisplayWidget : Gtk.Box { } }); - scale_drop_down.notify["selected-item"].connect ((drop_down, param_spec) => { + scale_drop_down.notify["selected-item"].connect (() => { // Prevent breaking autohide by closing popover popover.popdown (); - // var i = ((Gtk.DropDown) drop_down).selected; - - // if (i < 0 || i > scales.length) { - // warning ("Invalid scale selected."); - // return; - // } - - // virtual_monitor.scale = scales[i]; - configuration_changed (); });