mirror of
https://github.com/brl/mutter.git
synced 2024-11-10 07:56:14 -05:00
examples/layout: Initialize variables to avoid warnings
This commit is contained in:
parent
75ef676b15
commit
a541023795
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user