de-e_comp_get()-ify e_scale

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-01-27 12:52:13 -05:00
parent cdebd483ef
commit 9e2d4c85c3
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@ e_scale_update(void)
if (e_config->scale.use_dpi)
{
#ifndef HAVE_WAYLAND_ONLY
if (e_comp_get(NULL)->comp_type == E_PIXMAP_TYPE_X)
if (e_comp->comp_type == E_PIXMAP_TYPE_X)
e_scale = (double)ecore_x_dpi_get() / (double)e_config->scale.base_dpi;
#endif
if (e_scale > e_config->scale.max) e_scale = e_config->scale.max;