- Remove unused variables.
- Fix if check. - Fix return value. SVN revision: 28333
This commit is contained in:
parent
21e22d250e
commit
763138f5b8
|
@ -146,7 +146,7 @@ e_flowlayout_flowdirection_get(Evas_Object *obj, int *right, int *bottom)
|
||||||
E_Smart_Data *sd;
|
E_Smart_Data *sd;
|
||||||
|
|
||||||
sd = evas_object_smart_data_get(obj);
|
sd = evas_object_smart_data_get(obj);
|
||||||
if (!sd) return 0;
|
if (!sd) return;
|
||||||
if (right) *right = sd->flowright;
|
if (right) *right = sd->flowright;
|
||||||
if (bottom) *bottom = sd->flowright;
|
if (bottom) *bottom = sd->flowright;
|
||||||
}
|
}
|
||||||
|
@ -722,7 +722,7 @@ static void
|
||||||
_e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd)
|
_e_flowlayout_smart_extents_calcuate(E_Smart_Data *sd)
|
||||||
{
|
{
|
||||||
Evas_List *l;
|
Evas_List *l;
|
||||||
int minw, minh, totalw, totalh, count;
|
int minw, minh, count;
|
||||||
|
|
||||||
/* FIXME: need to calc max */
|
/* FIXME: need to calc max */
|
||||||
sd->max.w = -1; /* max < 0 == unlimited */
|
sd->max.w = -1; /* max < 0 == unlimited */
|
||||||
|
|
|
@ -907,7 +907,7 @@ _e_int_menus_clients_sort_border_cb(void *d1, void *d2)
|
||||||
|
|
||||||
if (j > k) return 1;
|
if (j > k) return 1;
|
||||||
if (j < k) return -1;
|
if (j < k) return -1;
|
||||||
if (j = k) return 0;
|
if (j == k) return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
|
Loading…
Reference in New Issue