stefan pushed a commit to branch master.

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

commit f64b07bb8e2fd7c5635a6b5063f8130d3d2eca97
Author: Stefan Schmidt <s.schm...@samsung.com>
Date:   Fri Jan 23 13:37:59 2015 +0100

    e_backlight: de-e_comp_get()ify
---
 src/bin/e_backlight.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/bin/e_backlight.c b/src/bin/e_backlight.c
index d71337e..272c366 100644
--- a/src/bin/e_backlight.c
+++ b/src/bin/e_backlight.c
@@ -49,7 +49,7 @@ e_backlight_init(void)
 #endif
 
 #ifndef HAVE_WAYLAND_ONLY
-   if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
+   if (e_comp->comp_type == E_PIXMAP_TYPE_X)
      xbl_avail = ecore_x_randr_output_backlight_available();
 #endif
    e_backlight_update();

-- 


Reply via email to