Fix compiler warnings by initializing variables

This commit is contained in:
Emmanuele Bassi 2013-02-21 00:37:58 +00:00
parent 50f6b2ac2c
commit e317ca11fc

View File

@ -15184,10 +15184,10 @@ clutter_actor_allocate_align_fill (ClutterActor *self,
ClutterAllocationFlags flags)
{
ClutterActorPrivate *priv;
ClutterActorBox allocation = { 0, };
ClutterActorBox allocation = CLUTTER_ACTOR_BOX_INIT_ZERO;
gfloat x_offset, y_offset;
gfloat available_width, available_height;
gfloat child_width, child_height;
gfloat child_width = 0.f, child_height = 0.f;
g_return_if_fail (CLUTTER_IS_ACTOR (self));
g_return_if_fail (box != NULL);