e_backlight: de-e_comp_get()ify
This commit is contained in:
parent
1997034465
commit
f64b07bb8e
|
@ -49,7 +49,7 @@ e_backlight_init(void)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef HAVE_WAYLAND_ONLY
|
#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();
|
xbl_avail = ecore_x_randr_output_backlight_available();
|
||||||
#endif
|
#endif
|
||||||
e_backlight_update();
|
e_backlight_update();
|
||||||
|
|
Loading…
Reference in New Issue