Re: [Vala] error: too many arguments to function
- From: Frederik <scumm_fredo gmx net>
- To: vala-list <vala-list gnome org>
- Subject: Re: [Vala] error: too many arguments to function
- Date: Thu, 22 Jul 2010 10:58:56 +0200
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]