Re: [Vala] error: too many arguments to function



Dru Moore wrote:
From hildon-1.vapi file

public void set_forward_page_func (Hildon.WizardDialogPageFunc
page_func, void* data, GLib.DestroyNotify destroy);

The correct binding in 'hildon-1.vapi' should be:

  public void set_forward_page_func (owned Hildon.WizardDialogPageFunc page_func);

Vala will insert the 'data' and 'destroy' parameters automatically.
I have filed a patch (Bug #625010).


Best regards,

Frederik



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]