summaryrefslogtreecommitdiff
path: root/examples/pieces.js
diff options
context:
space:
mode:
authorLionel Landwerlin <llandwerlin@gmail.com>2013-03-27 12:15:03 +0000
committerLionel Landwerlin <llandwerlin@gmail.com>2013-03-27 12:15:03 +0000
commit7b9affcbe92351127cec21151f82f20bf0f49578 (patch)
tree212e918b13772680c80a306b480bdb43ebe1e94a /examples/pieces.js
parent3ebce92080647866cc60fe73cf5c5d7ce033538a (diff)
downloadclutter-gst-7b9affcbe92351127cec21151f82f20bf0f49578.tar.gz
Introduce ClutterGstBox to replace usage of (soon to be deprecated) ClutterActorBox
https://bugzilla.gnome.org/show_bug.cgi?id=696630
Diffstat (limited to 'examples/pieces.js')
-rw-r--r--examples/pieces.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/examples/pieces.js b/examples/pieces.js
index 9415250..f7a0b0b 100644
--- a/examples/pieces.js
+++ b/examples/pieces.js
@@ -129,11 +129,11 @@ for (let i = 0; i < ROWS; i++) {
if ((i * ROWS + j) >= (ROWS * COLUMNS - 1))
break;
- let input = new Clutter.ActorBox({ x1: j / COLUMNS,
- x2: (j + 1) / COLUMNS,
- y1: i / ROWS,
- y2: (i + 1) / ROWS,
- })
+ let input = new ClutterGst.Box({ x1: j / COLUMNS,
+ x2: (j + 1) / COLUMNS,
+ y1: i / ROWS,
+ y2: (i + 1) / ROWS,
+ })
let actor = new ClutterGst.Crop({ width: BIT_WIDTH,
height: BIT_HEIGHT,
player: player,