[test-clip] Use gint for hand_{width,height} when calulating -hand_* /2

It was a fluke that this worked out due to how the incorrect integer
result gets converted by CLUTTER_INT_TO_FIXED.
This commit is contained in:
Robert Bragg 2009-01-07 12:33:40 +00:00
parent cc8cd8392f
commit e4b1859077

View File

@ -122,7 +122,7 @@ on_paint (ClutterActor *actor, CallbackData *data)
{ {
int i; int i;
ClutterGeometry stage_size; ClutterGeometry stage_size;
guint hand_width, hand_height; gint hand_width, hand_height;
GSList *node; GSList *node;
clutter_actor_get_allocation_geometry (data->stage, &stage_size); clutter_actor_get_allocation_geometry (data->stage, &stage_size);