Skip to content

Commit

Permalink
ISSUE-18 Remove MenuView object.actor warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
rovellipaolo committed Jul 26, 2023
1 parent a0b8f08 commit 63cab98
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion metadata.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,5 +14,5 @@
"43",
"44"
],
"version": 23
"version": 24
}
6 changes: 3 additions & 3 deletions src/presentation/views.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var MenuView = GObject.registerClass(

addClickEvent() {
let that = this;
return this.actor.connect("button_press_event", () =>
return this.connect("button_press_event", () =>
that.presenter.onClick()
);
}
Expand Down Expand Up @@ -58,7 +58,7 @@ var MenuView = GObject.registerClass(
);
layout.add_child(icon);
});
this.actor.add_child(layout);
this.add_child(layout);
}

showSectionContainer() {
Expand Down Expand Up @@ -94,7 +94,7 @@ var MenuView = GObject.registerClass(
}

removeEvent(eventId) {
this.actor.disconnect(eventId);
this.disconnect(eventId);
}

destroy() {
Expand Down

0 comments on commit 63cab98

Please sign in to comment.