Re: GtkListStore->insert()

From: Date: Sat, 15 Oct 2005 16:50:39 +0000
Subject: Re: GtkListStore->insert()
References: 1 2 3  Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-1827@lists.php.net to get a copy of this message
Hi Andrei, Andrei Zmievski wrote: > I ended up taking your patch and expanding it. Should be in CVS now, > let me know if it works for you. It actually does a little more than > > GtkListStore::insert(position, array items = null) I am running into some strange problems using insert with an array. Sometimes it gives me warning about things being initialized to NULL already. I added bug_gtkliststore_insert_with_array.php to the test file. It has more details and you should be able to reproduce the bug with that script. Also, I copied the override for GtkListStore::append and changed the method name and Gtk function to prepend. The attached patch is your code with two words changed. Thanks, Scott

« previous php.gtk.dev (#1827) next »