Re: Remove GooCanvasGroup properly



On Sun, 2011-01-30 at 16:08 +0100, Alex Vasic wrote:
> Hi,
> 
> How can i remove properly a GooCanvasGroup ? When i try to use
> goo_canvas_item_remove function, i have this error for every group
> removed :
> 
> GooCanvas-CRITICAL **: goo_canvas_item_get_parent: assertion
> `GOO_IS_CANVAS_ITEM (item)' failed
> 
> Should i have before to remove every child of a group ?

goo_canvas_item_remove() should work fine.

You could try running it with --g-fatal-warnings and get a stack trace
to see where it is going wrong.

Damon





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]