forked from enlightenment/efl
elementary bg: allow NULL pointers in legacy usage
Summary: It should not cause crash with NULL parameters. @fix Reviewers: woohyun, raster, cedric Reviewed By: woohyun, raster Differential Revision: https://phab.enlightenment.org/D5979
This commit is contained in:
parent
e74ebca670
commit
f7826ea1af
|
@ -218,8 +218,8 @@ _efl_ui_bg_widget_efl_file_file_get(const Eo *obj, Efl_Ui_Bg_Widget_Data *sd, co
|
||||||
{
|
{
|
||||||
if (elm_widget_is_legacy(obj))
|
if (elm_widget_is_legacy(obj))
|
||||||
{
|
{
|
||||||
*file = sd->file;
|
if (file) *file = sd->file;
|
||||||
*key = sd->key;
|
if (key) *key = sd->key;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue