[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: [Vala] [PATCH] gtk_action_group_add_*_actions add user_data
- From: "Juerg Billeter" <j bitron ch>
- To: "Jaap A. Haitsma" <jaap haitsma org>
- Cc: vala-list gnome org
- Subject: Re: [Vala] [PATCH] gtk_action_group_add_*_actions add user_data
- Date: Wed, 2 Apr 2008 13:15:17 +0200 (CEST)
On Wed, April 2, 2008 08:37, Jaap A. Haitsma wrote:
> I've just discovered a bug with the action entries. The signature of
> the callbacks is always like
> static void sample_on_about (Sample* self, GtkAction* action)
> while it needs to be
> static void sample_on_about (GtkAction* action, Sample* self)
>
>
> Attached sample.vala shows this. Furthermore this also shows with
> add_actions stuff we should not pass any user data.
>
> If I can get some hints on how to fix this, I can try to cook up a patch
valac should create a C wrapper function that reverses the order of
arguments. It should already support this, don't know what's wrong at the
moment.
Juerg
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]