#35990 [NEW]: activate signal on GtkEntry throws warning

From: Date: Fri, 13 Jan 2006 09:34:34 +0000
Subject: #35990 [NEW]: activate signal on GtkEntry throws warning
Groups: php.gtk.dev 
Request: Send a blank email to php-gtk-dev+get-2192@lists.php.net to get a copy of this message
From: cweiske@php.net Operating system: any PHP version: 5.1.2 PHP Bug Type: PHP-GTK related Bug description: activate signal on GtkEntry throws warning 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 -- Edit bug report at http://bugs.php.net/?id=35990&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=35990&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=35990&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=35990&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=35990&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=35990&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=35990&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=35990&r=needscript Try newer version: http://bugs.php.net/fix.php?id=35990&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=35990&r=support Expected behavior: http://bugs.php.net/fix.php?id=35990&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=35990&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=35990&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=35990&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=35990&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=35990&r=dst IIS Stability: http://bugs.php.net/fix.php?id=35990&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=35990&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=35990&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=35990&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=35990&r=mysqlcfg

« previous php.gtk.dev (#2192) next »