Skip to content

Commit 82ce28d

Browse files
committed
Fix warnings, cleanup
1 parent 7220430 commit 82ce28d

File tree

3 files changed

+2
-4
lines changed

3 files changed

+2
-4
lines changed

src/Gestures/RootTarget.vala

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@
88
public interface Gala.RootTarget : Object, GestureTarget {
99
public void add_gesture_controller (GestureController controller) requires (controller.target == null) {
1010
controller.attached (this);
11-
12-
// Bind the controller lifetime to #this lifetime
1311
weak_ref (controller.detached);
1412
}
1513
}

src/Widgets/WindowSwitcher/WindowSwitcher.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
* SPDX-License-Identifier: GPL-3.0-or-later
88
*/
99

10-
public class Gala.WindowSwitcher : CanvasActor, RootTarget, GestureTarget {
10+
public class Gala.WindowSwitcher : CanvasActor, GestureTarget, RootTarget {
1111
public const int ICON_SIZE = 64;
1212
public const int WRAPPER_PADDING = 12;
1313

src/Zoom.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* SPDX-License-Identifier: GPL-3.0-or-later
66
*/
77

8-
public class Gala.Zoom : Object, RootTarget, GestureTarget {
8+
public class Gala.Zoom : Object, GestureTarget, RootTarget {
99
private const float MIN_ZOOM = 1.0f;
1010
private const float MAX_ZOOM = 10.0f;
1111
private const float SHORTCUT_DELTA = 0.5f;

0 commit comments

Comments
 (0)