No need to use variables for this. Just code the -1 value into the function

call & save the register space by not using the variables.


SVN revision: 42733
This commit is contained in:
Christopher Michael 2009-09-26 21:15:29 +00:00
parent 03665b7239
commit e64c4c9473
1 changed files with 2 additions and 3 deletions

View File

@ -51,10 +51,9 @@ static void
_sizing_eval(Evas_Object *obj)
{
Widget_Data *wd = elm_widget_data_get(obj);
Evas_Coord minw = -1, minh = -1, maxw = -1, maxh = -1;
evas_object_size_hint_min_set(obj, minw, minh);
evas_object_size_hint_max_set(obj, maxw, maxh);
evas_object_size_hint_min_set(obj, -1, -1);
evas_object_size_hint_max_set(obj, -1, -1);
}
static void