Re: gtk+ 2.0 marshaller problems with passing non gpointer variables?



Hi,

The definition of you callback function has the wrong arguments :

in this case, for the signal "clicked" and for the button the callback
function should be declared as (search in the archive for a mail which tells
you exactly how to find those arguments) :

void create_file_select(GtkWidget *w, gpointer *chosen1)

I think the first argument is always the widget from which the signal/event
was sent (in this case : 'button').

Hth



-- 
Melvin Hadasht




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