Gir file for Gtk should include gtk/gtk.h
Gir XML file indicates which header files should be included in C programs.
Currently, gir file for Gtk includes none. Instead it should include gtk/gtk.h.
Which can be done by passing --c-include=gtk/gtk.h
to g-ir-scanner.