Skip to content

Commit

Permalink
replace deprecated meta.rectangle with mtk
Browse files Browse the repository at this point in the history
  • Loading branch information
jonian committed Oct 21, 2023
1 parent 57745d6 commit eaebac4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/taskbar.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { GLib, GObject, Graphene, Clutter, Meta, Shell, St } from '#gi'
import { GLib, GObject, Graphene, Clutter, Mtk, Shell, St } from '#gi'
import { appDisplay as AppDisplay } from '#ui'
import { appFavorites as AppFavorites } from '#ui'
import { dnd as DND } from '#ui'
Expand Down Expand Up @@ -318,7 +318,7 @@ class AppButton extends TaskBarItem {
const [posX, posY] = this.get_transformed_position()
const [boxW, boxH] = this.get_transformed_size()

const rect = new Meta.Rectangle({
const rect = new Mtk.Rectangle({
x: posX + (boxW / 2),
y: posY + (boxH / 2)
})
Expand Down

0 comments on commit eaebac4

Please sign in to comment.