netstar pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=2f27fe14301582d139a488f508a8c1de89830f40

commit 2f27fe14301582d139a488f508a8c1de89830f40
Author: Alastair Poole <[email protected]>
Date:   Sun Apr 12 14:22:46 2020 +0100

    conf_theme: fix small logic issue.
    
    Obtain evas before using it.
---
 src/modules/conf_theme/e_int_config_theme.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/src/modules/conf_theme/e_int_config_theme.c 
b/src/modules/conf_theme/e_int_config_theme.c
index e3c0f6faf..807989402 100644
--- a/src/modules/conf_theme/e_int_config_theme.c
+++ b/src/modules/conf_theme/e_int_config_theme.c
@@ -57,10 +57,9 @@ _e_int_theme_preview_set(Evas_Object *preview, const char 
*file)
    Eina_List *objs = NULL;
    Evas_Object *o, *po, *po2, *po3, *win, *parent;
 
-   parent = e_win_evas_win_get(e);
-
    _e_int_theme_preview_clear(preview);
    e = e_widget_preview_evas_get(preview);
+   parent = e_win_evas_win_get(e);
    win = parent;
    if (!win)
      win = elm_win_fake_add(ecore_evas_ecore_evas_get(e));

-- 


Reply via email to