|  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
New email:
PHP Version: OS:


 [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-2021 The PHP Group
All rights reserved.
Last updated: Mon Nov 29 03:03:16 2021 UTC