forked from enlightenment/efl
layout: check the return value of elm_widget_theme_object_set() and
return if it fails. Do not proceed next steps if elm_widget_theme_object_set() returns false. Proceeding next steps has no meaning at all.
This commit is contained in:
parent
3c618ca79c
commit
b4cf7588b1
|
@ -350,9 +350,9 @@ _elm_layout_smart_theme(Eo *obj, void *_pd, va_list *list)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* function already prints error messages, if any */
|
/* function already prints error messages, if any */
|
||||||
int_ret = elm_widget_theme_object_set
|
if (!elm_widget_theme_object_set(obj, wd->resize_obj, sd->klass, sd->group,
|
||||||
(obj, wd->resize_obj, sd->klass, sd->group,
|
elm_widget_style_get(obj)))
|
||||||
elm_widget_style_get(obj));
|
return;
|
||||||
|
|
||||||
edje_object_mirrored_set
|
edje_object_mirrored_set
|
||||||
(wd->resize_obj, elm_widget_mirrored_get(obj));
|
(wd->resize_obj, elm_widget_mirrored_get(obj));
|
||||||
|
|
Loading…
Reference in New Issue