remove backlight update calls from backlight module
authorMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 21 Sep 2015 21:22:55 +0000 (17:22 -0400)
committerMike Blumenkrantz <zmike@osg.samsung.com>
Mon, 21 Sep 2015 21:22:55 +0000 (17:22 -0400)
these are no longer necessary since the backlight value should be
kept up-to-date by the core backlight infra

src/modules/backlight/e_mod_main.c

index c791382..521a308 100644 (file)
@@ -190,7 +190,6 @@ _backlight_popup_new(Instance *inst)
    
    if (inst->popup) return;
 
-   e_backlight_update();
    e_backlight_mode_set(inst->gcc->gadcon->zone, E_BACKLIGHT_MODE_NORMAL);
    inst->val = e_backlight_level_get(inst->gcc->gadcon->zone);
    _backlight_gadget_update(inst);
@@ -304,7 +303,6 @@ _gc_init(E_Gadcon *gc, const char *name, const char *id, const char *style)
    inst->gcc = gcc;
    inst->o_backlight = o;
 
-   e_backlight_update();
    inst->val = e_backlight_level_get(inst->gcc->gadcon->zone);
    _backlight_gadget_update(inst);
    
@@ -439,7 +437,6 @@ _backlight_cb_mod_init_end(void *d EINA_UNUSED, int type EINA_UNUSED, void *ev E
    Eina_List *l;
    Instance *inst;
 
-   e_backlight_update();
    EINA_LIST_FOREACH(backlight_instances, l, inst)
      {
         inst->val = e_backlight_level_get(inst->gcc->gadcon->zone);