* Add evas_object_ref_get() to be able to tell if others ref
an object.
+2012-04-03 Gustavo Sverzut Barbieri (k-s)
+
+ * Box layouts: fix handling of weights that have decimal parts,
+ they were being handled as "int" where "double" was expected.
}
static int
-_evas_object_box_layout_horizontal_weight_apply(Evas_Object_Box_Data *priv, Evas_Object_Box_Option **objects, int n_objects, int remaining, int weight_total)
+_evas_object_box_layout_horizontal_weight_apply(Evas_Object_Box_Data *priv, Evas_Object_Box_Option **objects, int n_objects, int remaining, double weight_total)
{
int rem_diff = 0;
int i;
}
static int
-_evas_object_box_layout_vertical_weight_apply(Evas_Object_Box_Data *priv, Evas_Object_Box_Option **objects, int n_objects, int remaining, int weight_total)
+_evas_object_box_layout_vertical_weight_apply(Evas_Object_Box_Data *priv, Evas_Object_Box_Option **objects, int n_objects, int remaining, double weight_total)
{
int rem_diff = 0;
int i;