Re: problem with gtk_signal_connect



    Jean-Michel> I have probs to pass a structure (PlTerm) through a
    Jean-Michel> signal_connect as the argument of the function i want to
    Jean-Michel> connect to the signal it seems that the argument *goal is
    Jean-Michel> reinitialized when i fall in the function callback_signals

    Jean-Michel> Why ?

    Jean-Michel> void callback_signals(GtkWidget *widg, gpointer *goal) {

I think it should be "gpointer goal" and not "gpointer *goal".
-----------------------------------------------------------------------------
Mark Leisher                           Rights surrendered are not easily
Computing Research Lab                 regained, and a police state is not
New Mexico State University            worth defending.
Box 30001, Dept. 3CRL                     -- Patrick O'Grady
Las Cruces, NM  88003




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