swell-foop: fix crash

Next version will have the fix also.

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-10-13 20:44:06 +02:00
parent e550fe74db
commit 24e2803f23
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8
2 changed files with 33 additions and 1 deletions

View file

@ -0,0 +1,32 @@
--- src/game-view.vala 2019-09-09 21:09:07.000000000 +0200
+++ src/game-view.vala 2019-10-13 20:40:46.515571474 +0200
@@ -398,8 +398,7 @@
set_content_gravity (Clutter.ContentGravity.CENTER);
- pivot_point.x = 0.5f;
- pivot_point.y = 0.5f;
+ set_pivot_point (0.5f, 0.5f);
}
/* Destroy the tile */
@@ -438,8 +437,7 @@
set_content_gravity (Clutter.ContentGravity.CENTER);
- pivot_point.x = 0.5f;
- pivot_point.y = 0.5f;
+ set_pivot_point (0.5f, 0.5f);
}
}
@@ -460,8 +458,7 @@
add_child (label);
- pivot_point.x = 0.5f;
- pivot_point.y = 0.5f;
+ set_pivot_point (0.5f, 0.5f);
this.scene_width = (float) width;
this.scene_height = (float) height;

View file

@ -1,7 +1,7 @@
# Template file for 'swell-foop'
pkgname=swell-foop
version=3.34.0
revision=1
revision=2
build_style=meson
hostmakedepends="glib-devel itstool pkg-config vala"
makedepends="clutter-gtk-devel"