Re: test script errors

From: Date: Wed, 07 Mar 2001 20:08:00 +0000
Subject: Re: test script errors
References: 1  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-512@lists.php.net to get a copy of this message
Nevermind, :P In between me doing a cvs update, compile, and install, Andrei has already fixed them. On 07 Mar 2001 14:42:41 -0500, Keith Geffert wrote: > 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); > > > -- > PHP GTK Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-gtk-unsubscribe@lists.php.net > For additional commands, e-mail: php-gtk-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.gtk (#512) next »