discomfitor pushed a commit to branch master. http://git.enlightenment.org/misc/entrance.git/commit/?id=e1e8691ec6e0f407fc413c262fb0ef066b74a512
commit e1e8691ec6e0f407fc413c262fb0ef066b74a512 Author: Mike Blumenkrantz <[email protected]> Date: Sun May 4 23:29:38 2014 -0400 correctly create login icons using theme edj's path on a related topic, entrance_gui_theme_path_get() should probably just return a static buf[PATH_MAX] instead of stringsharing I noticed a lot of these errors, so this issue is probably present throughout the tree --- src/bin/entrance_login.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bin/entrance_login.c b/src/bin/entrance_login.c index e68c7aa..27a8c45 100644 --- a/src/bin/entrance_login.c +++ b/src/bin/entrance_login.c @@ -353,9 +353,12 @@ _login_xsession_update(Evas_Object *obj) icon = elm_object_part_content_get(o, "icon"); if (login->session->icon) { + Eina_Stringshare *path; if (!icon) icon = elm_icon_add(o); - elm_image_file_set(icon, login->session->icon, NULL); + path = entrance_gui_theme_path_get(); + elm_image_file_set(icon, path, login->session->icon); + eina_stringshare_del(path); elm_object_part_content_set(o, "icon", icon); } else --
