GTK stuff is improperly implemented.

Reporter: faissaloo  |  Status: open  |  Last Modified: September 02, 2016, 01:06:17 PM
After using a workaround to get GTK+ stuff to actually compile (because #676), apparently the whole thing is non-functional.
Sadly this is likely our fault and GTK teams fault. Ask @JoshDreamland how much they like to break GTK.

Even Oracle is going through it right now to fix GTK:

I discovered a while back myself that none of the GTK stuff works properly.


I'm not sure what to do with a big, nebulous bug like this. It's been a long time since I've done anything in ENIGMA, and much longer with GTK. I'm sure the code's all miserably outdated (it was written for GTK2), but the way I used to code, it's likely there's just some call that needs made before any of the functions can be used (especially given how GTK works).


Seems to work for me. You need to add a void show_info(...) function. Then it will compile. However it appears that your gtk stuff was never updated when we started using a name space. Functions just need to be scoped under enigma_user. I'd do it myself but I can't tell whats what's a gm function and what's internal in @JoshDreamland ''s code. It's really a big mess... but it should work

Please sign in to post comments, or you can view this issue on GitHub.