Evas textblock: Should invalidate before declaring the object as changed.

SVN revision: 60353
This commit is contained in:
Tom Hacohen 2011-06-15 14:57:38 +00:00
parent 2da2cd7611
commit 4d13de35e9
1 changed files with 4 additions and 4 deletions

View File

@ -4291,8 +4291,8 @@ evas_textblock_style_set(Evas_Textblock_Style *ts, const char *text)
Evas_Object_Textblock *o; Evas_Object_Textblock *o;
o = (Evas_Object_Textblock *)(obj->object_data); o = (Evas_Object_Textblock *)(obj->object_data);
_evas_textblock_changed(o, obj);
_evas_textblock_invalidate_all(o); _evas_textblock_invalidate_all(o);
_evas_textblock_changed(o, obj);
} }
_style_replace(ts, text); _style_replace(ts, text);
@ -4418,8 +4418,8 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
} }
o->style = ts; o->style = ts;
_evas_textblock_changed(o, obj);
_evas_textblock_invalidate_all(o); _evas_textblock_invalidate_all(o);
_evas_textblock_changed(o, obj);
} }
EAPI const Evas_Textblock_Style * EAPI const Evas_Textblock_Style *
@ -4436,8 +4436,8 @@ evas_object_textblock_replace_char_set(Evas_Object *obj, const char *ch)
if (o->repch) eina_stringshare_del(o->repch); if (o->repch) eina_stringshare_del(o->repch);
if (ch) o->repch = eina_stringshare_add(ch); if (ch) o->repch = eina_stringshare_add(ch);
else o->repch = NULL; else o->repch = NULL;
_evas_textblock_changed(o, obj);
_evas_textblock_invalidate_all(o); _evas_textblock_invalidate_all(o);
_evas_textblock_changed(o, obj);
} }
EAPI void EAPI void
@ -8904,8 +8904,8 @@ _evas_object_textblock_rehint(Evas_Object *obj)
} }
} }
} }
_evas_textblock_changed(o, obj);
_evas_textblock_invalidate_all(o); _evas_textblock_invalidate_all(o);
_evas_textblock_changed(o, obj);
} }
/** /**