php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #36238 GtkColorButton::get_color()
Submitted: 2006-02-01 04:21 UTC Modified: 2006-02-01 07:16 UTC
From: pablo@php.net Assigned:
Status: Closed Package: PHP-GTK related
PHP Version: 5.1.2 OS: Linux Ubuntu Breezy
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: pablo@php.net
New email:
PHP Version: OS:

 

 [2006-02-01 04:21 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-02-01 07:16 UTC] cweiske@php.net
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.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Mon Oct 14 11:01:27 2024 UTC