diff --git a/js/ui/padOsd.js b/js/ui/padOsd.js index 0309f0d42..648f577b7 100644 --- a/js/ui/padOsd.js +++ b/js/ui/padOsd.js @@ -812,13 +812,13 @@ export const PadOsd = GObject.registerClass({ } else if (event.get_source_device() === this.padDevice && event.type() === Clutter.EventType.PAD_STRIP) { if (this._editionMode) { - let [retval_, number, mode] = event.get_pad_event_details(); + let [retval_, number, mode] = event.get_pad_details(); this._startStripActionEdition(number, Meta.PadDirection.UP, mode); } } else if (event.get_source_device() === this.padDevice && event.type() === Clutter.EventType.PAD_RING) { if (this._editionMode) { - let [retval_, number, mode] = event.get_pad_event_details(); + let [retval_, number, mode] = event.get_pad_details(); this._startRingActionEdition(number, Meta.PadDirection.CCW, mode); } }