On Fri, 20 Nov 2015 19:45:25 +0000, TheDGuy wrote:

> So like this?
> 
>       public void remove(TreeIter iter)
>       {
>               this.remove(iter);
>       }
> 
> If i do this, i get a stackoverflow error :(

That's creating an infinite recursion as the method simply calls itself.
Assuming the class inherits from ListStore, you can just erase the remove 
method entirely and let the base class handle it.  If you want to do 
something extra, use:

override void remove(TreeIter iter)
{
        // Anything custom
        super.remove(iter);
        // Anything custom
}

Reply via email to