examples/layout: Initialize variables to avoid warnings

This commit is contained in:
Emmanuele Bassi 2012-06-06 13:39:47 +01:00
parent 75ef676b15
commit a541023795

View File

@ -189,10 +189,10 @@ multi_layout_allocate (ClutterLayoutManager *manager,
float x_offset, y_offset; float x_offset, y_offset;
ClutterActorIter iter; ClutterActorIter iter;
ClutterActor *child; ClutterActor *child;
float item_x, item_y; float item_x = 0.f, item_y = 0.f;
int n_items, n_items_per_row, item_index; int n_items, n_items_per_row = 0, item_index;
ClutterPoint center; ClutterPoint center = CLUTTER_POINT_INIT_ZERO;
double radius, theta; double radius = 0, theta = 0;
gboolean use_animations; gboolean use_animations;
ClutterAnimationMode easing_mode; ClutterAnimationMode easing_mode;
guint easing_duration, easing_delay; guint easing_duration, easing_delay;