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,11 +496,13 @@ _elm_popup_elm_layout_sizing_eval(Eo *obj, Elm_Popup_Data *sd)
|
|||
return;
|
||||
}
|
||||
|
||||
if (sd->main_layout)
|
||||
{
|
||||
edje_object_size_min_calc(elm_layout_edje_get(sd->main_layout), &minw, &minh);
|
||||
|
||||
evas_object_size_hint_min_set(obj, minw, minh);
|
||||
evas_object_size_hint_max_set(obj, -1, -1);
|
||||
}
|
||||
}
|
||||
|
||||
EOLIAN static void
|
||||
_elm_popup_efl_canvas_layout_signal_signal_emit(Eo *obj EINA_UNUSED, Elm_Popup_Data *sd, const char *emission, const char *source)
|
||||
|
|
Loading…
Reference in New Issue