|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-01-14 05:57 UTC] andrei@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 17:00:01 2025 UTC |
Description: ------------ I get a warning when using the activate signal on a GtkEntry. Reproduce code: --------------- <?php //Start it and press return. Warning will come $wnd = new GtkWindow(); $wnd->connect_simple('destroy', array('gtk', 'main_quit')); $entry = new GtkEntry(); function echoit($value) { echo $value . "\r\n";} $entry->connect_simple('activate', 'echoit', 'test'); $wnd->add($entry); $wnd->show_all(); Gtk::main(); ?> Expected result: ---------------- output: test Actual result: -------------- PHP Warning: PHP-GTK internal error: unsupported type (null) in /data/cvs/phpgtk2/php-gtk/test/bug_gtkentry_activate.phpw on line 9 PHP Warning: Could not convert return value of signal callback 'echoit' to '(null)' in /data/cvs/phpgtk2/php-gtk/test/bug_gtkentry_activate.phpw on line 9