Skip to content

Commit 953718b

Browse files
committed
Remove commented code
1 parent 56658ca commit 953718b

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

src/Widgets/DisplayWidget.vala

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -429,19 +429,10 @@ public class Display.DisplayWidget : Gtk.Box {
429429
}
430430
});
431431

432-
scale_drop_down.notify["selected-item"].connect ((drop_down, param_spec) => {
432+
scale_drop_down.notify["selected-item"].connect (() => {
433433
// Prevent breaking autohide by closing popover
434434
popover.popdown ();
435435

436-
// var i = ((Gtk.DropDown) drop_down).selected;
437-
438-
// if (i < 0 || i > scales.length) {
439-
// warning ("Invalid scale selected.");
440-
// return;
441-
// }
442-
443-
// virtual_monitor.scale = scales[i];
444-
445436
configuration_changed ();
446437
});
447438

0 commit comments

Comments
 (0)