cvs: php-gtk /test bug_gtkliststore_insert_with_array.php

From: Date: Thu, 20 Oct 2005 04:19:22 +0000
Subject: cvs: php-gtk /test bug_gtkliststore_insert_with_array.php
Groups: php.gtk.cvs 
Request: Send a blank email to php-gtk-cvs+get-1923@lists.php.net to get a copy of this message
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(); /*

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