discomfitor pushed a commit to branch enlightenment-0.18. http://git.enlightenment.org/core/enlightenment.git/commit/?id=95f99123b45b7926d172de039fcc8a6150154ac1
commit 95f99123b45b7926d172de039fcc8a6150154ac1 Author: Mike Blumenkrantz <[email protected]> Date: Fri Mar 28 09:43:05 2014 -0400 stringshare_replace in fwin: it exists for a reason, stop using macros ffs --- src/modules/fileman/e_fwin.c | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/modules/fileman/e_fwin.c b/src/modules/fileman/e_fwin.c index ca7bf16..49e1fca 100644 --- a/src/modules/fileman/e_fwin.c +++ b/src/modules/fileman/e_fwin.c @@ -1709,12 +1709,10 @@ _e_fwin_changed(void *data, } else { -#define RELEASE_STR(x) if (x) {eina_stringshare_del(x); (x) = NULL; } - RELEASE_STR(fwin->wallpaper_file); - RELEASE_STR(fwin->overlay_file); - RELEASE_STR(fwin->scrollframe_file); - RELEASE_STR(fwin->theme_file); -#undef RELEASE_STR + eina_stringshare_replace(&fwin->wallpaper_file, NULL); + eina_stringshare_replace(&fwin->overlay_file, NULL); + eina_stringshare_replace(&fwin->scrollframe_file, NULL); + eina_stringshare_replace(&fwin->theme_file, NULL); } if (fwin->under_obj) evas_object_hide(fwin->under_obj); if (fwin->wallpaper_file) --
