Taking a look at core code, I think that the pattern is to use glib types when:
1.- The variable interacts with some glib function that uses these types
2.- They need a type not provided in C89, like gboolean or fixed bit length types (guint8, guint16, etc.)
I will review the use of types in this change following these two guidelines.