discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=342fa1880afaea34904458a863610a5a81f51548

commit 342fa1880afaea34904458a863610a5a81f51548
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Mon Sep 21 17:22:55 2015 -0400

    remove backlight update calls from backlight module
    
    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 | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/modules/backlight/e_mod_main.c 
b/src/modules/backlight/e_mod_main.c
index c791382..521a308 100644
--- a/src/modules/backlight/e_mod_main.c
+++ b/src/modules/backlight/e_mod_main.c
@@ -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);

-- 


Reply via email to