actor: improve rounding in get_allocation_geometry
actor: improve rounding in get_allocation_geometry

Instead of relying on C to round the floating point allocation to
integers by flooring the values we now use CLUTTER_NEARBYINT to round
the allocation's position and size to the nearest integers instead. Using
floor leads to rather unstable rounding for the width and height when
there may be tiny fluctuations in the floating point width/height.

Signed-off-by: Neil Roberts <822ec91a7ef82248fd36162ca8ac3283eba70848@linux.intel.com>
Signed-off-by: Emmanuele Bassi <049ee2061f71220e5aaf33f5be422fc2a2b06a44@linux.intel.com>

djdeath/clutter,kerrickstaley/clutter-vala,collects/clutter,heysion/clutter-clone,heysion/clutter-clone,collects/clutter,spatulasnout/clutter,jigpu/clutter,GNOME/clutter,heysion/clutter-clone,ebassi/clutter,djdeath/clutter-android,jigpu/clutter,collects/clutter,djdeath/clutter,djdeath/clutter-multithreaded,spatulasnout/clutter,collects/clutter,djdeath/clutter,Distrotech/clutter,jigpu/clutter,Distrotech/clutter,djdeath/clutter-android,Distrotech/clutter,jigpu/clutter,kerrickstaley/clutter-vala,GNOME/clutter,GNOME/clutter,kerrickstaley/clutter-vala,djdeath/clutter,Distrotech/clutter,djdeath/clutter-multithreaded,heysion/clutter-clone,ebassi/clutter,kerrickstaley/clutter-vala,spatulasnout/clutter,djdeath/clutter-android,GNOME/clutter,djdeath/clutter-android,djdeath/clutter-android,djdeath/clutter,jigpu/clutter,spatulasnout/clutter,djdeath/clutter-multithreaded,jigpu/clutter,djdeath/clutter-multithreaded,Distrotech/clutter,heysion/clutter-clone,djdeath/clutter,spatulasnout/clutter,Distrotech/clutter,collects/clutter,ebassi/clutter,ebassi/clutter,ebassi/clutter,GNOME/clutter