mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
[test-depth] Use a gint for width, not guint, when calculating -width/2
It was a fluke that this worked out due to how clutter_actor_set_depth internally converts the incorrect integer result to fixed point.
This commit is contained in:
parent
5d5b93bd2a
commit
cc8cd8392f
@ -26,7 +26,7 @@ raise_top (gpointer ignored)
|
||||
static ClutterActor *
|
||||
clone_box (ClutterTexture *original)
|
||||
{
|
||||
guint width, height;
|
||||
gint width, height;
|
||||
ClutterActor *group;
|
||||
ClutterActor *clone;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user