test script errors

From: Date: Wed, 07 Mar 2001 19:42:41 +0000
Subject: test script errors
Groups: php.gtk 
Request: Send a blank email to php-gtk+get-502@lists.php.net to get a copy of this message
Hi all, test/list.php has a missing paren on line 24. The line reads: $window->connect_object('destroy', array('gtk', 'main_quit'); and it should be: $window->connect_object('destroy', array('gtk', 'main_quit')); ----- I'm also noticing that many of the test programs are complaining about the destroy callback not being able to be called during a button event. Such as on the list.php, when clicking the close button: <b>Warning</b>: Unable to call signal callback 'destroy' specified in list.php on line 31 in <b>list.php</b> on line <b>72</b><br> Which reads: /* * Create a button and connect its 'clicked' signal to destroy() function. */ $button = &new GtkButton('Close'); $button->connect('clicked', destroy);

« previous php.gtk (#502) next »