Re: Passing structure with a callback

2012-07-24 Thread Frank Cox
It occurs to me that the problem here may be that all roads lead to gtk_main(). If my current theory is correct, then by creating the emailshare structure in the MainMenu function that structure is not available in main(), and hence is not being passed to the Clear function when the clear icon is

Re: Passing structure with a callback

2012-07-24 Thread David Nečas
On Tue, Jul 24, 2012 at 12:27:41AM -0600, Frank Cox wrote: Is my understanding of how this actually works correct? Yes. Now please read my reply to your first e-mail... If so, what is the recommended way to deal with structures like this? ...that already answered this too.

Re: Passing structure with a callback

2012-07-24 Thread David Nečas
On Tue, Jul 24, 2012 at 08:43:08AM +0200, David Nečas wrote: Now please read my reply to your first e-mail... I see. So, in case you read the mailing list archives: It's a bit pointless to ask questions in a mailing list if your mailserver blocks all answers. Yeti