Skip to content

Commit

Permalink
Fix eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
sergio-costas committed Feb 19, 2024
1 parent 583e47d commit 3d55c71
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions util.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,16 +377,16 @@ export function tryCleanupOldIndicators() {

export function addActor(obj, actor) {
if (obj.add_actor)
obj.add_actor(actor)
obj.add_actor(actor);
else
obj.add_child(actor)
obj.add_child(actor);
}

export function removeActor(obj, actor) {
if (obj.remove_actor)
obj.remove_actor(actor)
obj.remove_actor(actor);
else
obj.remove_child(actor)
obj.remove_child(actor);
}

export const CancellableChild = GObject.registerClass({
Expand Down

0 comments on commit 3d55c71

Please sign in to comment.