|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #35990 activate signal on GtkEntry throws warning
Submitted: 2006-01-13 10:34 UTC Modified: 2006-01-14 05:57 UTC
From: Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5.1.2 OS: any
Private report: No CVE-ID: None
 [2006-01-13 10:34 UTC]
I get a warning when using the activate signal on a GtkEntry.

Reproduce code:
//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');


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


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-01-14 05:57 UTC]
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
Thank you for the report, and for helping us make PHP better.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 18:01:30 2024 UTC