discomfitor pushed a commit to branch enlightenment-0.19.

http://git.enlightenment.org/core/enlightenment.git/commit/?id=033c3c32f0918411c45a2037d75b5a1db97590d7

commit 033c3c32f0918411c45a2037d75b5a1db97590d7
Author: Mike Blumenkrantz <[email protected]>
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 10eae32..f83741b 100644
--- a/src/modules/backlight/e_mod_main.c
+++ b/src/modules/backlight/e_mod_main.c
@@ -198,7 +198,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);
@@ -333,7 +332,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);
    
@@ -428,7 +426,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