notification: Remove old setter methods of MessageTray.Notification

We now have nice GObject properties for the properties that can be set
with in different ways, since we already changing the API so much let's
drop the old setter methods.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3173>
This commit is contained in:
Julian Sparber 2024-02-14 11:37:22 +01:00 committed by Florian Müllner
parent 1d1d9806f3
commit cb1b54b954

View File

@ -494,26 +494,6 @@ export class Notification extends GObject.Object {
this._actions = [];
}
setUrgency(urgency) {
this.urgency = urgency;
}
setResident(resident) {
this.resident = resident;
}
setTransient(isTransient) {
this.isTransient = isTransient;
}
setForFeedback(forFeedback) {
this.forFeedback = forFeedback;
}
setPrivacyScope(privacyScope) {
this.privacyScope = privacyScope;
}
playSound() {
if (this._soundPlayed)
return;