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 669815 - [clutter bindings] Clutter.BindingPool.install_action incorrect
[clutter bindings] Clutter.BindingPool.install_action incorrect
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
unspecified
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on: 677659
Blocks:
 
 
Reported: 2012-02-10 16:09 UTC by Jan Jokela
Modified: 2012-06-09 20:47 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Jan Jokela 2012-02-10 16:09:49 UTC
The clutter-1.0.vapi for this function is as follows:

public void install_action (string action_name, uint key_val, Clutter.ModifierType modifiers, [CCode (type = "GCallback")] owned Clutter.BindingActionFunc callback);

The C header file:

void clutter_binding_pool_install_action (ClutterBindingPool  *pool,
                                          const gchar         *action_name,
                                          guint                key_val,
                                          ClutterModifierType  modifiers,
                                          GCallback            callback,
                                          gpointer             data,
                                          GDestroyNotify       notify);

This results in the following for a given valid foo.vala:
foo.c: error: too few arguments to function 'clutter_binding_pool_install_action'
/usr/include/clutter-1.0/clutter/clutter-binding-pool.h:78:23: note: declared here
Comment 1 Evan Nemerson 2012-06-09 20:47:24 UTC
commit c26db99f439004792f0444d25f2d12ca18958e60
Author: Evan Nemerson <evan@coeus-group.com>
Date:   Sat Jun 9 13:33:47 2012 -0700

    clutter-1.0: update to latest git
    
    Fixes bug 669815.