I’m following the official Reference Manual of GTK to migrate from GTK+ 2.x to GTK+ 3.
The first step is preparation in GTK+ 2.x itself. This includes:
- Do not include individual headers
- Do not use deprecated symbols
- Use accessor functions instead of direct access
- Replace GDK_<keyname> with GDK_KEY_<keyname>
- Use GIO for launching applications
- Use cairo for drawing
Working on this step first. I’ll commit some changes by tomorrow.