mirror of
https://gitlab.gnome.org/june/top-bar-organizer.git
synced 2026-01-11 16:53:51 +01:00
Refactor: Use constructor instead of _init
This commit is contained in:
parent
cda099be24
commit
2f9f4d1a3f
4 changed files with 8 additions and 8 deletions
|
|
@ -18,8 +18,8 @@ var PrefsBoxOrderItemRow = GObject.registerClass({
|
|||
"menu-button"
|
||||
]
|
||||
}, class PrefsBoxOrderItemRow extends Adw.ActionRow {
|
||||
_init(params = {}, scrollManager, item) {
|
||||
super._init(params);
|
||||
constructor(params = {}, scrollManager, item) {
|
||||
super(params);
|
||||
|
||||
this._associateItem(item);
|
||||
this._configureMenu();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue