aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/evas/canvas/evas_object_text.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/evas/canvas/evas_object_text.c')
-rw-r--r--src/lib/evas/canvas/evas_object_text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index f0bf953e54..5145be615d 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -2214,14 +2214,14 @@ evas_object_text_was_opaque(Evas_Object *eo_obj EINA_UNUSED,
}
EOLIAN static void
-_evas_text_efl_ui_base_scale_set(Evas_Object *eo_obj, Evas_Text_Data *o,
+_evas_text_efl_gfx_scale_set(Evas_Object *eo_obj, Evas_Text_Data *o,
double scale)
{
int size;
const char *font;
- if (EINA_DBL_EQ(efl_ui_scale_get(eo_obj), scale)) return;
- efl_ui_scale_set(efl_super(eo_obj, MY_CLASS), scale);
+ if (EINA_DBL_EQ(efl_gfx_scale_get(eo_obj), scale)) return;
+ efl_gfx_scale_set(efl_super(eo_obj, MY_CLASS), scale);
font = eina_stringshare_add(o->cur.font);
size = o->cur.size;