* evas: Fix update of textblock when style change.

SVN revision: 46786
This commit is contained in:
Cedric BAIL 2010-03-02 14:53:27 +00:00
parent 3e0ce16056
commit f880806ff2
1 changed files with 9 additions and 1 deletions

View File

@ -2506,7 +2506,15 @@ evas_object_textblock_style_set(Evas_Object *obj, Evas_Textblock_Style *ts)
o->style = NULL;
}
evas_object_textblock_text_markup_set(obj, o->markup_text);
o->formatted.valid = 0;
o->native.valid = 0;
o->changed = 1;
if (o->markup_text)
{
free(o->markup_text);
o->markup_text = NULL;
}
evas_object_change(obj);
}
/**