summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-30 19:19:52 +0200
committerMarcel Hollerbach <marcel-hollerbach@t-online.de>2017-07-30 19:19:52 +0200
commitfc3fcc54319867ceaa78289082239360f0de0f33 (patch)
treec0f0bec05030e0f000b0af1962c793753dc86cfc
parent8ace8acd997ec608ea01e454ea722b4fe84fec71 (diff)
presentator: set scale correctly
-rw-r--r--src/e_mod_main.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/e_mod_main.c b/src/e_mod_main.c
index 3c58fa8..9b43139 100644
--- a/src/e_mod_main.c
+++ b/src/e_mod_main.c
@@ -223,15 +223,17 @@ _toggle_run_mode(E_Object *e, const char *name)
223static void 223static void
224_decrease_fontsize(E_Object *e, const char *name) 224_decrease_fontsize(E_Object *e, const char *name)
225{ 225{
226 float scale = elm_object_scale_get(notify); 226 float scale = elm_object_scale_get(lb);
227 elm_object_scale_set(notify, scale - 0.1); 227 elm_object_scale_set(lb, scale - 0.1);
228 _update_place();
228} 229}
229 230
230static void 231static void
231_increase_fontsize(E_Object *e, const char *name) 232_increase_fontsize(E_Object *e, const char *name)
232{ 233{
233 float scale = elm_object_scale_get(notify); 234 float scale = elm_object_scale_get(lb);
234 elm_object_scale_set(notify, scale + 0.1); 235 elm_object_scale_set(lb, scale + 0.1);
236 _update_place();
235} 237}
236 238
237E_API void * 239E_API void *