Evas textblock: Fixed a bug in the last commit causing a seg when cleaning a tb.
authortasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:40:42 +0000 (10:40 +0000)
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 30 Jan 2011 10:40:42 +0000 (10:40 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@56494 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/canvas/evas_object_textblock.c

index f4092bd..d7f4212 100644 (file)
@@ -7732,7 +7732,7 @@ evas_object_textblock_clear(Evas_Object *obj)
        _paragraphs_clear(obj, o->paragraphs);
        o->paragraphs = NULL;
      }
-   _evas_textblock_text_node_changed(o, cur->obj, cur->node);
+   _evas_textblock_text_node_changed(o, obj, NULL);
 }
 
 /**