summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
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
parent61e880e57c5cfec897959e64ed5731d5425d2699 (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
-rw-r--r--src/lib/elementary/efl_ui_win.c2
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
7636{ 7636{
7637 const char *file, *key; 7637 const char *file, *key;
7638 7638
7639 sd->legacy.forbidden = EINA_TRUE;
7639 if (efl_file_loaded_get(part_obj)) return 0; 7640 if (efl_file_loaded_get(part_obj)) return 0;
7640 file = efl_file_get(part_obj); 7641 file = efl_file_get(part_obj);
7641 key = efl_file_key_get(part_obj); 7642 key = efl_file_key_get(part_obj);
7642 sd->legacy.forbidden = EINA_TRUE;
7643 if (eina_streq(part, "background")) 7643 if (eina_streq(part, "background"))
7644 { 7644 {
7645 Eina_Bool ok = EINA_TRUE; 7645 Eina_Bool ok = EINA_TRUE;