From f4bf4f5228ead1f1f9cde7376a2659ef3c3899a4 Mon Sep 17 00:00:00 2001 From: lenemter Date: Fri, 13 Dec 2024 17:04:32 +0300 Subject: [PATCH] Fix lint --- src/SuperScrollAction.vala | 2 +- src/Zoom.vala | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SuperScrollAction.vala b/src/SuperScrollAction.vala index 6ebca02f9..6d6d0a9ba 100644 --- a/src/SuperScrollAction.vala +++ b/src/SuperScrollAction.vala @@ -15,7 +15,7 @@ public class Gala.SuperScrollAction : Clutter.Action { public override bool handle_event (Clutter.Event event) { if ( event.get_type () == SCROLL && - (event.get_state() & display.compositor_modifiers) != 0 + (event.get_state () & display.compositor_modifiers) != 0 ) { warning (event.get_device_type ().to_string ()); diff --git a/src/Zoom.vala b/src/Zoom.vala index 3f4aa5499..db9dc8d98 100644 --- a/src/Zoom.vala +++ b/src/Zoom.vala @@ -84,7 +84,7 @@ public class Gala.Zoom : Object { return; } - var d = dx.abs () > dy.abs () ? dx : dy; + var d = dx.abs () > dy.abs () ? dx : dy; if (d > 0) { zoom (SHORTCUT_DELTA, true, AnimationsSettings.get_enable_animations ());