Common mistakes writing GTK code
Posted on sam. 25 août 2012 in Computers / Informatique
I give a hand in several computing forums (mainly nowadays developpez.net in french, and stackoverflow.com in english), mostly about GNOME, GTK, or C programming.
Let’s focus on GTK. People asking some advice on these sites are often starting to learn GTK. From my experience, the root causes of most of their problems are often the same:
- Not respecting the prototype of a signal’s callback
- Failing to understand how a message pump works