summaryrefslogtreecommitdiff
path: root/src/lib/evas/canvas/evas_object_text.c
diff options
context:
space:
mode:
authorJean-Philippe Andre <jp.andre@samsung.com>2016-03-02 14:41:32 +0900
committerJean-Philippe Andre <jp.andre@samsung.com>2016-03-15 11:11:59 +0900
commitb640cb5ba9af16533a6625140c4e5e8a79ad7f01 (patch)
tree7d9e3de78651245b211ccd492272639351a4957b /src/lib/evas/canvas/evas_object_text.c
parent9c204eb36970c72d254c5f42818dbe24f9a47451 (diff)
Evas filters: Simplify evas_filter_dirty
Objects can mark themselves as changed rather than having all this duplicated code inside the mixin.
Diffstat (limited to '')
-rw-r--r--src/lib/evas/canvas/evas_object_text.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/evas/canvas/evas_object_text.c b/src/lib/evas/canvas/evas_object_text.c
index a492ebdca7..186200ebe8 100644
--- a/src/lib/evas/canvas/evas_object_text.c
+++ b/src/lib/evas/canvas/evas_object_text.c
@@ -1665,8 +1665,11 @@ evas_font_draw_async_check(Evas_Object_Protected_Data *obj,
1665EOLIAN static void 1665EOLIAN static void
1666_evas_text_evas_filter_filter_dirty(Eo *eo_obj, Evas_Text_Data *o) 1666_evas_text_evas_filter_filter_dirty(Eo *eo_obj, Evas_Text_Data *o)
1667{ 1667{
1668 Evas_Object_Protected_Data *obj = eo_data_scope_get(eo_obj, EVAS_OBJECT_CLASS);
1669
1668 _evas_object_text_items_clear(o); 1670 _evas_object_text_items_clear(o);
1669 o->changed = 1; 1671 o->changed = 1;
1672 evas_object_change(eo_obj, obj);
1670 _evas_object_text_recalc(eo_obj, o->cur.text); 1673 _evas_object_text_recalc(eo_obj, o->cur.text);
1671} 1674}
1672 1675