forked from enlightenment/efl
popup: Avoid error messages on NULL
Those were spotted in ephoto (with no config, first run).
This commit is contained in:
parent
6226e88b6e
commit
7270a98d8c
|
@ -496,10 +496,12 @@ _elm_popup_elm_layout_sizing_eval(Eo *obj, Elm_Popup_Data *sd)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
edje_object_size_min_calc(elm_layout_edje_get(sd->main_layout), &minw, &minh);
|
if (sd->main_layout)
|
||||||
|
{
|
||||||
evas_object_size_hint_min_set(obj, minw, minh);
|
edje_object_size_min_calc(elm_layout_edje_get(sd->main_layout), &minw, &minh);
|
||||||
evas_object_size_hint_max_set(obj, -1, -1);
|
evas_object_size_hint_min_set(obj, minw, minh);
|
||||||
|
evas_object_size_hint_max_set(obj, -1, -1);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
EOLIAN static void
|
EOLIAN static void
|
||||||
|
|
Loading…
Reference in New Issue