Evas textblock: Should not clean the props of the item.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 8 Sep 2010 10:00:47 +0000 (10:00 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 8 Sep 2010 10:00:47 +0000 (10:00 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/evas@51984 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index 82df8ec..71873da 100644 (file)
@@ -2216,7 +2216,11 @@ _layout_item_abort(Ctxt *c, Evas_Object_Textblock_Format *fmt, Evas_Object_Textb
    if (it->text) free(it->text);
    _format_unref_free(c->obj, it->format);
 #ifdef BIDI_SUPPORT
-   evas_bidi_props_clean(&it->bidi_props);
+   /* FIXME: this also unrefs the paragraph props, we should either
+    * really count the usage of the paragraph props in the items, or just
+    * not use clean here. I prefer the latter but that might break if we'll
+    * start doing fancy stuff in clean in the future. */
+   /* evas_bidi_props_clean(&it->bidi_props); */
 #endif
    free(it);
    if (c->ln->items)