Question: why is gtk written in c?
Answer: GTK+ is written with object-orientation in mind, so it is object-oriented. Linux hackers prefer C to C++, and at that time C++ was immature, so C. It was actually a wise choice to keep ABI compatibility, rather than source-level compatibility.