Re: iterate over a model and remove rows

2007-10-07 Thread Benoît Dejean
Le dimanche 07 octobre 2007 à 00:21 +0200, René Stadler a écrit : > Am Freitag, den 05.10.2007, 19:48 +0200 schrieb Benoît Dejean: > > Hello, > > > > I'd like to know if it is safe to walk over a model and remove rows at > > the same time. I'm doing this in gnome-system-monitor in many places. > >

Re: iterate over a model and remove rows

2007-10-06 Thread René Stadler
Am Freitag, den 05.10.2007, 19:48 +0200 schrieb Benoît Dejean: > Hello, > > I'd like to know if it is safe to walk over a model and remove rows at > the same time. I'm doing this in gnome-system-monitor in many places. > > Two examples: > > The first function walks a list_store and removes some

iterate over a model and remove rows

2007-10-05 Thread Benoît Dejean
Hello, I'd like to know if it is safe to walk over a model and remove rows at the same time. I'm doing this in gnome-system-monitor in many places. Two examples: The first function walks a list_store and removes some rows. But i can see that multiple passes are required to drop all the old rows,