path: root/src/lib/elementary/efl_ui_win.c
diff options
authorMike Blumenkrantz <zmike@samsung.com>2019-03-19 09:59:01 -0400
committerCedric BAIL <cedric.bail@free.fr>2019-03-20 12:36:57 -0700
commitfcf2eb2205cc3cb9a1b3217c7bbba961bb8b2804 (patch)
tree2bc24afc1a57fc8198423e9af8b9eaf160c4e593 /src/lib/elementary/efl_ui_win.c
parentelm_test: set accel for all glview tests (diff)
efl_ui_win: mark legacy forbidden during bg part load always
calling this function indicates legacy is forbidden, not successfully loading a file. this is functionally meaningless, as the only way to trigger the previous codepath would be to have previously set legacy as forbidden, but perhaps it will be slightly easier to read now Reviewed-by: Marcel Hollerbach <mail@marcel-hollerbach.de> Differential Revision: https://phab.enlightenment.org/D8400
Diffstat (limited to 'src/lib/elementary/efl_ui_win.c')
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/elementary/efl_ui_win.c b/src/lib/elementary/efl_ui_win.c
index 9a827d220c..6e60b13633 100644
--- a/src/lib/elementary/efl_ui_win.c
+++ b/src/lib/elementary/efl_ui_win.c
@@ -7636,10 +7636,10 @@ _efl_ui_win_part_file_load(Eo *obj, Efl_Ui_Win_Data *sd, Eo *part_obj, const cha
const char *file, *key;
+ sd->legacy.forbidden = EINA_TRUE;
if (efl_file_loaded_get(part_obj)) return 0;
file = efl_file_get(part_obj);
key = efl_file_key_get(part_obj);
- sd->legacy.forbidden = EINA_TRUE;
if (eina_streq(part, "background"))
Eina_Bool ok = EINA_TRUE;