forked from enlightenment/efl
Make someone else assume responsibility when Elementary is not the father.
SVN revision: 47479
This commit is contained in:
parent
182023bb85
commit
efccbe07e8
|
@ -112,7 +112,9 @@ external_common_param_icon_get(Evas_Object *obj, const Edje_External_Param *p)
|
|||
edje_object_file_get(edje, &file, NULL);
|
||||
|
||||
parent_widget = elm_widget_parent_widget_get(obj);
|
||||
elm_icon_add(parent_widget);
|
||||
if (!parent_widget)
|
||||
parent_widget = edje;
|
||||
icon = elm_icon_add(parent_widget);
|
||||
|
||||
if (elm_icon_file_set(icon, file, p->s))
|
||||
return icon;
|
||||
|
|
Loading…
Reference in New Issue