From 342fa1880afaea34904458a863610a5a81f51548 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Mon, 21 Sep 2015 17:22:55 -0400 Subject: [PATCH] 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 c7913827b..521a3089d 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);