Re: [php-gtk-cvs] cvs: php-gtk /test bug_gtkliststore_insert_with_array.php

From: Date: Thu, 20 Oct 2005 12:44:22 +0000
Subject: Re: [php-gtk-cvs] cvs: php-gtk /test bug_gtkliststore_insert_with_array.php
References: 1  Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-1927@lists.php.net to get a copy of this message
I haven't had a chance to re-test this yet but I will tonight. If this bug is fixed, should this file be removed from CVS? I know it is a good idea to leave it there in case we run into a similar problem later but I can picture this directory getting pretty bogged down with files that will likely never be useful again. Scott Christian Weiske wrote:
cweiske Thu Oct 20 00:19:22 2005 EDT
  Modified files:                  /php-gtk/test	bug_gtkliststore_insert_with_array.php   Log:
Bug has been fixed by Andrei http://cvs.php.net/diff.php/php-gtk/test/bug_gtkliststore_insert_with_array.php?r1=1.1&r2=1.2&ty=u Index: php-gtk/test/bug_gtkliststore_insert_with_array.php diff -u php-gtk/test/bug_gtkliststore_insert_with_array.php:1.1 php-gtk/test/bug_gtkliststore_insert_with_array.php:1.2 --- php-gtk/test/bug_gtkliststore_insert_with_array.php:1.1 Sat Oct 15 12:45:28 2005 +++ php-gtk/test/bug_gtkliststore_insert_with_array.php Thu Oct 20 00:19:18 2005 @@ -1,4 +1,8 @@ <?php +/** +* FIXED by Andrei on 2005-10-19 22:38 +* Problem reason: Wrong alloc used +*/ // Create a list store. $listStore = new GtkListStore(Gtk::TYPE_STRING, Gtk::TYPE_LONG, Gtk::TYPE_DOUBLE); @@ -70,7 +74,7 @@ $window = new GtkWindow(); $window->add($view); $window->show_all(); -$window->connect_object('destroy', array('gtk', 'main_quit')); +$window->connect_simple('destroy', array('gtk', 'main_quit')); gtk::main(); /*
-- Scott Mattocks scott@crisscott.com http://www.crisscott.com http://pear.php.net/user/scottmattocks

« previous php.gtk.cvs (#1927) next »