[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
Re: problem with gtk_signal_connect
- From: Iain <iain ximian com>
- To: Jean-Michel Leconte lambda-systems com
- Cc: gtk-app-devel-list gnome org
- Subject: Re: problem with gtk_signal_connect
- Date: 03 Oct 2001 18:48:44 -0400
On Wed, 2001-10-03 at 18:06, Jean Michel LECONTE wrote:
>
> I have probs to pass a structure (PlTerm) through a signal_connect as the
> argument of the function i want to connect to the signal
> it seems that the argument *goal is reinitialized when i fall in the
> function callback_signals
>
> Why ?
>
> Thanks a lot
>
> void callback_signals(GtkWidget *widg, gpointer *goal)
The callback should be callback_signals(GtkWidget *widg, gpointer goal)
> arg=Rd_Callable_Check(*(PlTerm *)goal,&functor,&arity);
Possibly this should be (PlTerm *)goal now, although I don't know what
the declaration of Rd_Callable_Check is.
iain
--
"It isn't rebels who cause the troubles of the world,
it's the troubles that cause the rebels." - Carl Oglesby
PGP signature
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]