#36238 [Opn->Csd]: GtkColorButton::get_color()
| From: | cweiske@php.net | Date: | Wed, 01 Feb 2006 06:16:11 +0000 |
| Subject: | #36238 [Opn->Csd]: GtkColorButton::get_color() | ||
| References: | 1 | Groups: | php.gtk.dev |
| Request: | Send a blank email to php-gtk-dev+get-2308@lists.php.net to get a copy of this message | ||
ID: 36238
Updated by: cweiske@php.net
Reported By: pablo@php.net
-Status: Open
+Status: Closed
Bug Type: PHP-GTK related
Operating System: Linux Ubuntu Breezy
PHP Version: 5.1.2
New Comment:
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
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2006-02-01 04:21:27] pablo@php.net
Description:
------------
GtkColorButton::get_color() requires exactly 1 argument, 0 given
I think it's wrong. It expects a GdkColor object as parameter (by
reference).
Reproduce code:
---------------
<?php
$colorbutton = new GtkColorButton;
$colorbutton->set_color(GdkColor::parse('#00FF00'));
$colorbutton->get_color();
?>
Expected result:
----------------
it should return the selected color.
Actual result:
--------------
warning: GtkColorButton::get_color() requires exactly 1 argument, 0
given
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=36238&edit=1