remove unnecessary call to e_bg_del
authorSimon Lees <simon@simotek.net>
Tue, 14 Jul 2015 16:31:20 +0000 (12:31 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Tue, 14 Jul 2015 16:32:42 +0000 (12:32 -0400)
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

index c691495..9b306c2 100644 (file)
@@ -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