Re: test script errors
| From: | Andrei Zmievski | Date: | Wed, 07 Mar 2001 19:45:52 +0000 |
| Subject: | Re: test script errors | ||
| References: | 1 | Groups: | php.gtk |
| Request: | Send a blank email to php-gtk+get-508@lists.php.net to get a copy of this message | ||
Fixed, thanks for catching it. That's what late-night coding brings.
On Wed, 07 Mar 2001, 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
>
-Andrei
"Try to spend the next 30 seconds not thinking
about a blue-eyed polar bear." -Feodor Dostoevsky