summaryrefslogtreecommitdiff
path: root/src/lib/elementary
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@samsung.com>2019-09-26 17:03:32 +0200
committerXavi Artigas <xavierartigas@yahoo.es>2019-09-26 18:00:31 +0200
commit6f6407729e8cb6da3813ac6ee1b4be8045bb5f89 (patch)
treeee5a5a38a67beb6e93433171d172dd43a98e3663 /src/lib/elementary
parenta21dacbad6c6fef31df5f1bd3655d511902af9d2 (diff)
efl_ui/layout: fix shadow warning
Summary: a variable with the same name is declared above Depends on D10192 Reviewers: segfaultxavi Reviewed By: segfaultxavi Subscribers: segfaultxavi, cedric, #reviewers, #committers Tags: #efl Differential Revision: https://phab.enlightenment.org/D10193
Diffstat (limited to 'src/lib/elementary')
-rw-r--r--src/lib/elementary/efl_ui_layout.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/efl_ui_layout.c b/src/lib/elementary/efl_ui_layout.c
index 6d58277..d25e86c 100644
--- a/src/lib/elementary/efl_ui_layout.c
+++ b/src/lib/elementary/efl_ui_layout.c
@@ -570,8 +570,8 @@ _efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Layout_Data *sd)
570 efl_gfx_hint_size_min_set(obj, EINA_SIZE2D(0, 0)); 570 efl_gfx_hint_size_min_set(obj, EINA_SIZE2D(0, 0));
571 else 571 else
572 { 572 {
573 const char *version = edje_object_data_get(wd->resize_obj, "version"); 573 const char *theme_version = edje_object_data_get(wd->resize_obj, "version");
574 if (!version) 574 if (!theme_version)
575 { 575 {
576 ERR("Widget(%p) with type '%s' is not providing a version in its theme!", obj, 576 ERR("Widget(%p) with type '%s' is not providing a version in its theme!", obj,
577 efl_class_name_get(efl_class_get(obj))); 577 efl_class_name_get(efl_class_get(obj)));
@@ -580,7 +580,7 @@ _efl_ui_layout_base_efl_ui_widget_theme_apply(Eo *obj, Efl_Ui_Layout_Data *sd)
580 else 580 else
581 { 581 {
582 errno = 0; 582 errno = 0;
583 sd->version = strtoul(version, NULL, 10); 583 sd->version = strtoul(theme_version, NULL, 10);
584 if (errno) 584 if (errno)
585 { 585 {
586 ERR("Widget(%p) with type '%s' is not providing a valid version in its theme!", obj, 586 ERR("Widget(%p) with type '%s' is not providing a valid version in its theme!", obj,