e_backlight: de-e_comp_get()ify

This commit is contained in:
Stefan Schmidt 2015-01-23 13:37:59 +01:00
parent 1997034465
commit f64b07bb8e
1 changed files with 1 additions and 1 deletions

View File

@ -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();