Remove the JavaScript wrapper for setContextMenu
This commit is contained in:
parent
adfd99f5f0
commit
67d9ae27c3
3 changed files with 5 additions and 10 deletions
|
@ -3,11 +3,4 @@ const {Tray} = process.atomBinding('tray')
|
|||
|
||||
Object.setPrototypeOf(Tray.prototype, EventEmitter.prototype)
|
||||
|
||||
Tray.prototype.setContextMenu = function (menu) {
|
||||
this._setContextMenu(menu)
|
||||
|
||||
// Keep a strong reference of menu.
|
||||
this.menu = menu
|
||||
}
|
||||
|
||||
module.exports = Tray
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue