This is going to be a major effort, the code is in many places technically GTK2 made to compile with GTK3