After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 616448 - Clutter.Stage.read_pixels does not compile
Clutter.Stage.read_pixels does not compile
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.8.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks: 616796
 
 
Reported: 2010-04-21 21:55 UTC by Simon Wenner
Modified: 2010-04-25 23:49 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
proposed patch (1.05 KB, patch)
2010-04-21 21:55 UTC, Simon Wenner
none Details | Review

Description Simon Wenner 2010-04-21 21:55:52 UTC
Created attachment 159288 [details] [review]
proposed patch

Example:

weak uchar[] pixels = stage.read_pixels(0, 0, -1, -1);

Results in a gcc error:

error: too many arguments to function `clutter_stage_read_pixels'

Patch (including the regenerated vapi file) is attached.
Comment 1 Evan Nemerson 2010-04-25 23:49:32 UTC
commit 42a5292e18eb62545b7186f95963d6bc9b330d38
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Sun Apr 25 16:47:35 2010 -0700

    clutter-1.0: fix Stage.read_pixels binding
    
    Fixes bug 616448.