discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=47f94841493da073c73afab3a6b0c74fc0bf3e7d

commit 47f94841493da073c73afab3a6b0c74fc0bf3e7d
Author: Simon Lees <si...@simotek.net>
Date:   Tue Jul 14 12:31:20 2015 -0400

    remove unnecessary call to e_bg_del
    
    I noticed e_bg_add calls e_bg_del so the additional call is not
    required, it should also be noted the msgbus module doesn't call
    this and works fine.
    
    Reviewers: raster, zmike
    
    Subscribers: cedric
    
    Differential Revision: https://phab.enlightenment.org/D2811
---
 src/modules/conf_theme/e_int_config_wallpaper.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/src/modules/conf_theme/e_int_config_wallpaper.c 
b/src/modules/conf_theme/e_int_config_wallpaper.c
index c691495..9b306c2 100644
--- a/src/modules/conf_theme/e_int_config_wallpaper.c
+++ b/src/modules/conf_theme/e_int_config_wallpaper.c
@@ -525,7 +525,6 @@ _basic_apply(E_Config_Dialog *cfd, E_Config_Dialog_Data 
*cfdata)
    if (cw->specific_config)
      {
         /* update a specific config */
-        e_bg_del(cw->zone_num, cw->desk_x, cw->desk_y);
         e_bg_add(cw->zone_num, cw->desk_x, cw->desk_y, cfdata->bg);
      }
    else

-- 


Reply via email to