Re: Strange Callback Behavior

2006-06-05 Thread [EMAIL PROTECTED]
-Original Message- Date: Mon, 5 Jun 2006 15:47:36 +0200 Subject: Re: Strange Callback Behavior From: Tristan Van Berkom To: Peter Robinson Peter Robinson wrote: [...] > > void open_data_file(gpointer callback_data, guint callback_action, GtkWidget *widget) { > GtkWidg

Re: Strange Callback Behavior

2006-06-05 Thread Tristan Van Berkom
Peter Robinson wrote: [...] void open_data_file(gpointer callback_data, guint callback_action, GtkWidget *widget) { GtkWidget *filew; [...] g_signal_connect (G_OBJECT (GTK_FILE_SELECTION (filew)->ok_button), "clicked", G_CALLBACK (data_file_ok_sel),

Strange Callback Behavior

2006-06-05 Thread Peter Robinson
Dear GTK'lers, I think I must have misunderstood something about the use of callback functions in GTK, but despite some amount of testing, I cannot get to the bottom of it. My goal is to have a label on the GUI be changed after a user chooses a file. To do this, I define a struct struct men