some gtk2 code

Miscellaneous Forums/Linux Discussion/some gtk2 code

Thanks for another update, Brucey. Having a few problems though... Firstly, thanks for the WINDOW_CHILD thing - it's just what I needed.

I've just downloaded the latest MaxIDE source I could find (v1.20d) from the code archives and tried to compile it using the latest version of GTK, and the slightly older v1.00 one. For both, I get the error message:
*** glibc detected *** free(): invalid pointer: 0x084bf1f8 ***
...just as the window is starting to be initialised, and the program terminates. I tried compiling it in FLTK and it is fine.

I put a DebugStop to find out where it seems to be crashing, and the program terminates at about line 4820 (may be different on your source), on the command navbar.SelectView 0 but when stepping through onto this line, I don't get the above error message, it just termiates.

Max'd GUI, when compiled, runs fine so it doesn't look as though it is a problem with GTK. If nobody has any ideas, please could you compile the source for us so we can use your new GTK v1.1 IDE.


Thanks

Seb