Skip to content

Commit 162d718

Browse files
authored
GestureTarget: make propagate abstract (#2569)
1 parent 64ad306 commit 162d718

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

lib/Gestures/ActorTarget.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public class Gala.ActorTarget : Clutter.Actor, GestureTarget {
6464
public virtual void commit_progress (GestureAction action, double to) {}
6565
public virtual void end_progress (GestureAction action) {}
6666

67-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
67+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
6868
if (update_type == COMMIT) {
6969
current_commit[action] = progress;
7070
} else {

lib/Gestures/GestureTarget.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,5 +13,5 @@ public interface Gala.GestureTarget : Object {
1313
END
1414
}
1515

16-
public virtual void propagate (UpdateType update_type, GestureAction action, double progress) { }
16+
public abstract void propagate (UpdateType update_type, GestureAction action, double progress);
1717
}

lib/Gestures/PropertyTarget.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public class Gala.PropertyTarget : Object, GestureTarget {
3030
target = null;
3131
}
3232

33-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
33+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
3434
if (target == null || update_type != UPDATE || action != this.action) {
3535
return;
3636
}

src/ShellClients/ShellClientsManager.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public class Gala.ShellClientsManager : Object, GestureTarget {
205205
window.unmanaging.connect_after ((_window) => positioned_windows.remove (_window));
206206
}
207207

208-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
208+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
209209
foreach (var window in positioned_windows.get_values ()) {
210210
window.propagate (update_type, action, progress);
211211
}

src/ShellClients/ShellWindow.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public class Gala.ShellWindow : PositionedWindow, GestureTarget {
4141
);
4242
}
4343

44-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
44+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
4545
switch (update_type) {
4646
case START:
4747
animations_ongoing++;

src/Widgets/WindowSwitcher/WindowSwitcher.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ public class Gala.WindowSwitcher : CanvasActor, GestureTarget, RootTarget {
230230
ctx.restore ();
231231
}
232232

233-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
233+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
234234
if (update_type != UPDATE || container.get_n_children () == 0) {
235235
return;
236236
}

src/Zoom.vala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,7 +103,7 @@ public class Gala.Zoom : Object, GestureTarget, RootTarget {
103103
gesture_controller.goto (current_commit + (delta / 10));
104104
}
105105

106-
public override void propagate (UpdateType update_type, GestureAction action, double progress) {
106+
public void propagate (UpdateType update_type, GestureAction action, double progress) {
107107
switch (update_type) {
108108
case COMMIT:
109109
current_commit = progress;

0 commit comments

Comments
 (0)