Re: Passing structure with a callback

2012-07-22 Thread David Nečas
On Sun, Jul 22, 2012 at 11:22:07PM -0600, Frank Cox wrote: > My widgetshare structure gets passed from main() to MainMenu with no > apparent problem, but using the same scheme to pass emailshare from > MainMenu to Clear segfaults. This is elementary C. Both structures are created on stack so they

Passing structure with a callback

2012-07-22 Thread Frank Cox
I'm really new to this whole GUI and GTK thing, so I hope I can get away with a few beginner questions, as I'm sure that the answer to what's going wrong here is simple if you understand what's going on (which I don't, yet.) I'm working on my very first GTK program, mostly as a project/excuse to l