projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdebd48
)
de-e_comp_get()-ify e_scale
author
Chris Michael
<cp.michael@samsung.com>
Tue, 27 Jan 2015 17:52:13 +0000
(12:52 -0500)
committer
Chris Michael
<cp.michael@samsung.com>
Tue, 27 Jan 2015 17:52:13 +0000
(12:52 -0500)
Signed-off-by: Chris Michael <cp.michael@samsung.com>
src/bin/e_scale.c
patch
|
blob
|
history
diff --git
a/src/bin/e_scale.c
b/src/bin/e_scale.c
index 3eb1b0bdd5e028a44ecb543353ae70f5ef9776b8..fc3df872b2e2d5611e0546a24c7d2e8b4a15a91b 100644
(file)
--- a/
src/bin/e_scale.c
+++ b/
src/bin/e_scale.c
@@
-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;