mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
messageTray: Drop Source.destroyNonResidentNotifications()
It was only used in a specific case for FDO notifications, which was removed in a previous commit.
This commit is contained in:
parent
43cb736cbd
commit
17f76bb7f7
1 changed files with 0 additions and 7 deletions
|
|
@ -597,13 +597,6 @@ export const Source = GObject.registerClass({
|
|||
// To be overridden by subclasses
|
||||
open() {
|
||||
}
|
||||
|
||||
destroyNonResidentNotifications() {
|
||||
for (let i = this.notifications.length - 1; i >= 0; i--) {
|
||||
if (!this.notifications[i].resident)
|
||||
this.notifications[i].destroy();
|
||||
}
|
||||
}
|
||||
});
|
||||
SignalTracker.registerDestroyableType(Source);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue